Apache CXF API

org.apache.cxf.sts.claims
Class LdapUtils

java.lang.Object
  extended by org.apache.cxf.sts.claims.LdapUtils

public final class LdapUtils
extends Object


Method Summary
static List<String> getAttributeOfEntries(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, String filterAttributeName, String filterAttributeValue, String searchAttribute)
           
static Map<String,Attribute> getAttributesOfEntry(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, String filterAttributeName, String filterAttributeValue, String[] searchAttributes)
           
static Name getDnOfEntry(org.springframework.ldap.core.LdapTemplate ldapTemplate, String baseDN, String objectClass, String filterAttributeName, String filterAttributeValue)
           
static boolean isDN(String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

getDnOfEntry

public static Name getDnOfEntry(org.springframework.ldap.core.LdapTemplate ldapTemplate,
                                String baseDN,
                                String objectClass,
                                String filterAttributeName,
                                String filterAttributeValue)

Apache CXF API

Apache CXF