Class LdapUtils


  • public final class LdapUtils
    extends Object
    • 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)
      • getDnOfEntry

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