Package org.apache.cxf.sts.claims
Class LdapUtils
- java.lang.Object
-
- org.apache.cxf.sts.claims.LdapUtils
-
public final class LdapUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>getAttributeOfEntries(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, String filterAttributeName, String filterAttributeValue, String searchAttribute)static List<String>getAttributeOfEntries(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, List<org.springframework.ldap.filter.Filter> filters, String searchAttribute)static Map<String,Attribute>getAttributesOfEntry(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, String filterAttributeName, String filterAttributeValue, String[] searchAttributes)static NamegetDnOfEntry(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, String filterAttributeName, String filterAttributeValue)static booleanisDN(String user)
-
-
-
Method Detail
-
isDN
public static boolean isDN(String user)
-
getAttributesOfEntry
public static Map<String,Attribute> getAttributesOfEntry(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, String filterAttributeName, String filterAttributeValue, String[] searchAttributes)
-
getAttributeOfEntries
public static List<String> getAttributeOfEntries(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, String filterAttributeName, String filterAttributeValue, String searchAttribute)
-
getAttributeOfEntries
public static List<String> getAttributeOfEntries(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, List<org.springframework.ldap.filter.Filter> filters, String searchAttribute)
-
-