com.atlassian.crowd.directory.ldap
Class QueryAnalyser

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

public class QueryAnalyser
extends java.lang.Object

Used to inspect search queries to determine if they are executable on LDAP implementations.


Field Summary
static java.util.Set<Property> GROUP_LDAP_PROPERTIES
           
static java.util.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.
 
Constructor Summary
QueryAnalyser()
           
 
Method Summary
static
<T> boolean
isQueryOnInternalFieldsOnly(EntityQuery<T> query)
           
static
<T> boolean
isQueryOnLdapFieldsOnly(EntityQuery<T> query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_LDAP_PROPERTIES

public static final java.util.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 java.util.Set<Property> GROUP_LDAP_PROPERTIES
Constructor Detail

QueryAnalyser

public QueryAnalyser()
Method Detail

isQueryOnLdapFieldsOnly

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

isQueryOnInternalFieldsOnly

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


Copyright © 2010 Atlassian. All Rights Reserved.