public class LDAPQueryTranslaterImpl extends Object implements LDAPQueryTranslater
| Constructor and Description |
|---|
LDAPQueryTranslaterImpl() |
| Modifier and Type | Method and Description |
|---|---|
LDAPQuery |
asLDAPFilter(EntityQuery query,
LDAPPropertiesMapper ldapPropertiesMapper) |
protected org.springframework.ldap.filter.Filter |
booleanTermRestrictionAsFilter(EntityDescriptor entityDescriptor,
PropertyRestriction<Boolean> termRestriction,
LDAPPropertiesMapper ldapPropertiesMapper) |
protected org.springframework.ldap.filter.Filter |
getStringTermEqualityFilter(String propertyName,
PropertyRestriction<String> termRestriction)
Certain LDAP directories, like AD, may require the value being searched to be encoded or not depending on the attribute under search.
|
public LDAPQuery asLDAPFilter(EntityQuery query, LDAPPropertiesMapper ldapPropertiesMapper) throws NullResultException
asLDAPFilter in interface LDAPQueryTranslaterNullResultExceptionprotected org.springframework.ldap.filter.Filter booleanTermRestrictionAsFilter(EntityDescriptor entityDescriptor, PropertyRestriction<Boolean> termRestriction, LDAPPropertiesMapper ldapPropertiesMapper)
protected org.springframework.ldap.filter.Filter getStringTermEqualityFilter(String propertyName, PropertyRestriction<String> termRestriction)
propertyName - attribute name to be queried in LDAPtermRestriction - PropertyRestriction containing the value that will be searched forCopyright © 2019 Atlassian. All rights reserved.