Class QueryAnalyser

java.lang.Object
com.atlassian.crowd.directory.ldap.QueryAnalyser

public class QueryAnalyser extends Object
Used to inspect search queries to determine if they are executable on LDAP implementations.
  • Field Details

    • USER_LDAP_PROPERTIES

      public static final Set<Property> USER_LDAP_PROPERTIES
      Even though "active" is not really an LDAP field, it has been implemented as such in the past and thus we treat it as such.

      If the "active" flag is later migrated from LDAP to the Internal directory, then we will need to remove it from the USER_LDAP_PROPERTIES and GROUP_LDAP_PROPERTIES.

    • GROUP_LDAP_PROPERTIES

      public static final Set<Property> GROUP_LDAP_PROPERTIES
  • Constructor Details

    • QueryAnalyser

      public QueryAnalyser()
  • Method Details

    • isQueryOnLdapFieldsOnly

      public static <T> boolean isQueryOnLdapFieldsOnly(EntityQuery<T> query)
    • isQueryOnInternalFieldsOnly

      public static <T> boolean isQueryOnInternalFieldsOnly(EntityQuery<T> query)