Class LDAPDn
- java.lang.Object
-
- org.keycloak.storage.ldap.idm.model.LDAPDn
-
public class LDAPDn extends Object
- Author:
- Marek Posolda
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LDAPDn.RDN
Single RDN inside the DN.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFirst(String rdnName, String rdnValue)
void
addFirst(LDAPDn.RDN entry)
boolean
equals(Object obj)
static LDAPDn
fromString(String dnString)
LDAPDn.RDN
getFirstRdn()
LDAPDn
getParentDn()
int
hashCode()
boolean
isDescendantOf(LDAPDn expectedParentDn)
String
toString()
-
-
-
Method Detail
-
getFirstRdn
public LDAPDn.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 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.
-
isDescendantOf
public boolean isDescendantOf(LDAPDn expectedParentDn)
-
addFirst
public void addFirst(LDAPDn.RDN entry)
-
-