Class AndCondition
java.lang.Object
org.keycloak.storage.ldap.idm.query.internal.AndCondition
- All Implemented Interfaces:
Condition
And condition for filters.
- Author:
- rmartinc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyCondition
(StringBuilder filter) boolean
isBinary()
void
setBinary
(boolean binary) void
setParameterName
(String parameterName) void
updateParameterName
(String modelParamName, String ldapParamName) Will change the parameter name if it is "modelParamName" to "ldapParamName" .
-
Constructor Details
-
AndCondition
-
-
Method Details
-
getParameterName
- Specified by:
getParameterName
in interfaceCondition
-
setParameterName
- Specified by:
setParameterName
in interfaceCondition
-
updateParameterName
Description copied from interface:Condition
Will 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:
updateParameterName
in interfaceCondition
-
applyCondition
- Specified by:
applyCondition
in interfaceCondition
-
setBinary
public void setBinary(boolean binary) -
isBinary
public boolean isBinary()
-