Class LDAPDn
java.lang.Object
org.keycloak.storage.ldap.idm.model.LDAPDn
- Author:
- Marek Posolda
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addFirst
(LDAPDn.RDN entry) boolean
static LDAPDn
fromLdapName
(LdapName ldapName) static LDAPDn
fromString
(String dnString) int
hashCode()
boolean
isDescendantOf
(LDAPDn expectedParentDn) toString()
-
Method Details
-
fromLdapName
-
fromString
-
getLdapName
-
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
-