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 class
LdapMapDn.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(LdapMapDn.RDN entry)
boolean
equals(Object obj)
static LdapMapDn
fromString(String dnString)
LdapMapDn.RDN
getFirstRdn()
LdapMapDn
getParentDn()
int
hashCode()
boolean
isDescendantOf(LdapMapDn expectedParentDn)
String
toString()
-
-
-
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)
-
-