Class LdapMapDn
java.lang.Object
org.keycloak.models.map.storage.ldap.model.LdapMapDn
- Author:
- Marek Posolda
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addFirst
(LdapMapDn.RDN entry) boolean
static LdapMapDn
fromString
(String dnString) int
hashCode()
boolean
isDescendantOf
(LdapMapDn expectedParentDn) toString()
-
Method Details
-
fromString
-
equals
-
hashCode
public int hashCode() -
toString
-
getFirstRdn
- Returns:
- first entry. Usually entry corresponding to something like "uid=joe" from the DN like "uid=joe,dc=something,dc=org"
-
getParentDn
- Returns:
- DN like "dc=something,dc=org" from the DN like "uid=joe,dc=something,dc=org". Returned DN will be new clone not related to the original DN instance.
-
isDescendantOf
-
addFirst
-
addFirst
-