Class LdapMapObject
java.lang.Object
org.keycloak.models.map.storage.ldap.model.LdapMapObject
- All Implemented Interfaces:
AbstractEntity
- Author:
- Marek Posolda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRangedAttribute
(String name, int max) void
addRdnAttributeName
(String rdnAttributeName) void
addReadOnlyAttributeName
(String readOnlyAttribute) boolean
getAttributeAsSet
(String name) getAttributeAsString
(String name) int
getCurrentRange
(String name) getDn()
getId()
int
hashCode()
boolean
isRangeComplete
(String name) boolean
void
populateRangedAttribute
(LdapMapObject obj, String name) void
removeReadOnlyAttributeName
(String readOnlyAttribute) void
setAttribute
(String attributeName, Set<String> attributeValue) void
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) toString()
-
Constructor Details
-
LdapMapObject
public LdapMapObject()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceAbstractEntity
-
setId
- Specified by:
setId
in 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
-