Class LdapMapDn
- java.lang.Object
-
- org.keycloak.models.map.storage.ldap.model.LdapMapDn
-
public class LdapMapDn extends Object
- Author:
- Marek Posolda
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLdapMapDn.RDNSingle RDN inside the DN.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFirst(String rdnName, String rdnValue)voidaddFirst(LdapMapDn.RDN entry)booleanequals(Object obj)static LdapMapDnfromString(String dnString)LdapMapDn.RDNgetFirstRdn()LdapMapDngetParentDn()inthashCode()booleanisDescendantOf(LdapMapDn expectedParentDn)StringtoString()
-
-
-
Method Detail
-
getFirstRdn
public LdapMapDn.RDN getFirstRdn()
- Returns:
- first entry. Usually entry corresponding to something like "uid=joe" from the DN like "uid=joe,dc=something,dc=org"
-
getParentDn
public LdapMapDn 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
public boolean isDescendantOf(LdapMapDn expectedParentDn)
-
addFirst
public void addFirst(LdapMapDn.RDN entry)
-
-