Class LDAPObject
java.lang.Object
org.keycloak.storage.ldap.idm.model.LDAPObject
- Author:
- Marek Posolda
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRangedAttribute(String name, int max) voidaddRdnAttributeName(String rdnAttributeName) voidaddReadOnlyAttributeName(String readOnlyAttribute) booleanvoidexecuteOnMandatoryAttributesComplete(Set<String> mandatoryAttributeNames, Consumer<LDAPObject> consumer) getAttributeAsSet(String name) getAttributeAsString(String name) intgetCurrentRange(String name) getDn()getUuid()inthashCode()booleanisRangeComplete(String name) booleanbooleanvoidpopulateRangedAttribute(LDAPObject obj, String name) voidremoveReadOnlyAttributeName(String readOnlyAttribute) voidsetAttribute(String attributeName, Set<String> attributeValue) voidvoidsetObjectClasses(Collection<String> objectClasses) voidsetRdnAttributeName(String rdnAttributeName) Useful when single value will be used as the "RDN" attribute.voidsetRdnAttributeNames(List<String> rdnAttributeNames) voidsetSingleAttribute(String attributeName, String attributeValue) voidtoString()
-
Constructor Details
-
LDAPObject
public LDAPObject()
-
-
Method Details
-
executeOnMandatoryAttributesComplete
public void executeOnMandatoryAttributesComplete(Set<String> mandatoryAttributeNames, Consumer<LDAPObject> consumer) -
isWaitingForExecutionOnMandatoryAttributesComplete
public boolean isWaitingForExecutionOnMandatoryAttributesComplete() -
getMandatoryAttributeNamesRemaining
-
getUuid
-
setUuid
-
getDn
-
setDn
-
getObjectClasses
-
setObjectClasses
-
getReadOnlyAttributeNames
-
addReadOnlyAttributeName
-
removeReadOnlyAttributeName
-
getRdnAttributeNames
-
setRdnAttributeName
Useful when single value will be used as the "RDN" attribute. Which will be most of the cases -
setRdnAttributeNames
-
addRdnAttributeName
-
setSingleAttribute
-
setAttribute
-
getAttributeAsString
-
getAttributeAsSet
-
isRangeComplete
-
getCurrentRange
-
isRangeCompleteForAllAttributes
public boolean isRangeCompleteForAllAttributes() -
addRangedAttribute
-
populateRangedAttribute
-
getAttributes
-
equals
-
hashCode
public int hashCode() -
toString
-