Class LDAPObject
java.lang.Object
org.keycloak.storage.ldap.idm.model.LDAPObject
- Author:
- Marek Posolda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRangedAttribute
(String name, int max) void
addRdnAttributeName
(String rdnAttributeName) void
addReadOnlyAttributeName
(String readOnlyAttribute) boolean
void
executeOnMandatoryAttributesComplete
(Set<String> mandatoryAttributeNames, Consumer<LDAPObject> consumer) getAttributeAsSet
(String name) getAttributeAsString
(String name) int
getCurrentRange
(String name) getDn()
getUuid()
int
hashCode()
boolean
isRangeComplete
(String name) boolean
boolean
void
populateRangedAttribute
(LDAPObject obj, String name) void
removeReadOnlyAttributeName
(String readOnlyAttribute) void
setAttribute
(String attributeName, Set<String> attributeValue) void
void
setObjectClasses
(Collection<String> objectClasses) void
setRdnAttributeName
(String rdnAttributeName) Useful when single value will be used as the "RDN" attribute.void
setRdnAttributeNames
(List<String> rdnAttributeNames) void
setSingleAttribute
(String attributeName, String attributeValue) void
toString()
-
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- Parameters:
rdnAttributeName
- The RDN of the ldap object
-
setRdnAttributeNames
-
addRdnAttributeName
-
setSingleAttribute
-
setAttribute
-
getAttributeAsString
-
getAttributeAsSet
-
isRangeComplete
-
getCurrentRange
-
isRangeCompleteForAllAttributes
public boolean isRangeCompleteForAllAttributes() -
addRangedAttribute
-
populateRangedAttribute
-
getAttributes
-
equals
-
hashCode
public int hashCode() -
toString
-