Class LdapMapDn
- java.lang.Object
- 
- org.keycloak.models.map.storage.ldap.model.LdapMapDn
 
- 
 public class LdapMapDn extends Object - Author:
- Marek Posolda
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classLdapMapDn.RDNSingle RDN inside the DN.
 - 
Method SummaryAll 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- 
getFirstRdnpublic LdapMapDn.RDN getFirstRdn() - Returns:
- first entry. Usually entry corresponding to something like "uid=joe" from the DN like "uid=joe,dc=something,dc=org"
 
 - 
getParentDnpublic 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.
 
 - 
isDescendantOfpublic boolean isDescendantOf(LdapMapDn expectedParentDn) 
 - 
addFirstpublic void addFirst(LdapMapDn.RDN entry) 
 
- 
 
-