Class NamedParameterCondition
java.lang.Object
org.keycloak.storage.ldap.idm.query.internal.NamedParameterCondition
- All Implemented Interfaces:
Condition
- Direct Known Subclasses:
EqualCondition,PresentCondition,SubstringCondition
- Author:
- Marek Posolda
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionescapeValue(Object value) booleanisBinary()voidsetBinary(boolean binary) voidsetParameterName(String parameterName) voidupdateParameterName(String modelParamName, String ldapParamName) Will change the parameter name if it is "modelParamName" to "ldapParamName" .Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.storage.ldap.idm.query.Condition
applyCondition, toFilter
-
Constructor Details
-
NamedParameterCondition
-
-
Method Details
-
getParameterName
- Specified by:
getParameterNamein interfaceCondition
-
setParameterName
- Specified by:
setParameterNamein interfaceCondition
-
updateParameterName
Description 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 interfaceCondition
-
setBinary
public void setBinary(boolean binary) -
isBinary
public boolean isBinary() -
escapeValue
-