Class LDAPDn.RDN
- java.lang.Object
- 
- org.keycloak.storage.ldap.idm.model.LDAPDn.RDN
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAllKeys()StringgetAttrValue(String attrName)Assume that RDN is something like "uid=john", then this method will return "john" in case that attrName is "uid" .booleanremoveAttrValue(String attrName)voidsetAttrValue(String attrName, String newAttrValue)StringtoString()StringtoString(boolean escaped)
 
- 
- 
- 
Method Detail- 
getAllKeyspublic List<String> getAllKeys() - Returns:
- Keys in the RDN. Returned list is the copy, which is not linked to the original RDN
 
 - 
getAttrValuepublic String getAttrValue(String attrName) Assume that RDN is something like "uid=john", then this method will return "john" in case that attrName is "uid" . This is useful in case that RDN is multi-key - something like "uid=john+cn=John Doe" and we want to return just "john" as the value of "uid" The returned value will be unescaped- Parameters:
- attrName-
- Returns:
 
 - 
removeAttrValuepublic boolean removeAttrValue(String attrName) 
 - 
toStringpublic String toString(boolean escaped) - Parameters:
- escaped- indicates whether return escaped or unescaped values. EG. "uid=john,comma" VS "uid=john\,comma"
- Returns:
 
 
- 
 
-