Class LdapMapObject
java.lang.Object
org.keycloak.models.map.storage.ldap.model.LdapMapObject
- All Implemented Interfaces:
AbstractEntity
- Author:
- Marek Posolda
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRangedAttribute(String name, int max) voidaddRdnAttributeName(String rdnAttributeName) voidaddReadOnlyAttributeName(String readOnlyAttribute) booleangetAttributeAsSet(String name) getAttributeAsString(String name) intgetCurrentRange(String name) getDn()getId()inthashCode()booleanisRangeComplete(String name) booleanvoidpopulateRangedAttribute(LdapMapObject obj, String name) voidremoveReadOnlyAttributeName(String readOnlyAttribute) voidsetAttribute(String attributeName, Set<String> attributeValue) voidvoidvoidsetObjectClasses(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) toString()
-
Constructor Details
-
LdapMapObject
public LdapMapObject()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceAbstractEntity
-
setId
- Specified by:
setIdin interfaceAbstractEntity
-
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
-