Class AndCondition
java.lang.Object
org.keycloak.storage.ldap.idm.query.internal.AndCondition
- All Implemented Interfaces:
- Condition
And condition for filters.
- Author:
- rmartinc
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyCondition(StringBuilder filter) booleanisBinary()voidsetBinary(boolean binary) voidsetParameterName(String parameterName) voidupdateParameterName(String modelParamName, String ldapParamName) Will change the parameter name if it is "modelParamName" to "ldapParamName" .
- 
Constructor Details- 
AndCondition
 
- 
- 
Method Details- 
getParameterName- Specified by:
- getParameterNamein interface- Condition
 
- 
setParameterName- Specified by:
- setParameterNamein interface- Condition
 
- 
updateParameterNameDescription copied from interface:ConditionWill change the parameter name if it is "modelParamName" to "ldapParamName" . Implementation can apply this to subconditions as well. It is used to update LDAP queries, which were created with model parameter name ( for example "firstName" ) and rewrite them to use real LDAP mapped attribute (for example "givenName" )- Specified by:
- updateParameterNamein interface- Condition
 
- 
applyCondition- Specified by:
- applyConditionin interface- Condition
 
- 
setBinarypublic void setBinary(boolean binary) 
- 
isBinarypublic boolean isBinary()
 
-