Class LDAPDn
- java.lang.Object
- 
- org.keycloak.storage.ldap.idm.model.LDAPDn
 
- 
 public class LDAPDn extends Object - Author:
- Marek Posolda
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classLDAPDn.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(LDAPDn.RDN entry)booleanequals(Object obj)static LDAPDnfromString(String dnString)LDAPDn.RDNgetFirstRdn()LDAPDngetParentDn()inthashCode()booleanisDescendantOf(LDAPDn expectedParentDn)StringtoString()
 
- 
- 
- 
Method Detail- 
getFirstRdnpublic LDAPDn.RDN getFirstRdn() - Returns:
- first entry. Usually entry corresponding to something like "uid=joe" from the DN like "uid=joe,dc=something,dc=org"
 
 - 
getParentDnpublic LDAPDn 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(LDAPDn expectedParentDn) 
 - 
addFirstpublic void addFirst(LDAPDn.RDN entry) 
 
- 
 
-