Package de.xima.fc.security.helper
Class SecurityLdapHelper
- java.lang.Object
-
- de.xima.fc.security.helper.SecurityLdapHelper
-
public class SecurityLdapHelper extends Object
Helper class for working with LDAP connections.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getLdapBaseDn(IClientDescriptor descriptor)
static String
getLdapFilterQuery(IClientDescriptor descriptor)
static Integer
getLdapPageSize(IClientDescriptor descriptor)
static List<com.unboundid.ldap.sdk.SearchResultEntry>
getLdapSearchResults(com.unboundid.ldap.sdk.LDAPConnection con, String baseDN, com.unboundid.ldap.sdk.SearchScope scope, Integer pageSize, com.unboundid.ldap.sdk.Filter filter, String... attributes)
-
-
-
Method Detail
-
getLdapSearchResults
public static List<com.unboundid.ldap.sdk.SearchResultEntry> getLdapSearchResults(com.unboundid.ldap.sdk.LDAPConnection con, String baseDN, com.unboundid.ldap.sdk.SearchScope scope, Integer pageSize, com.unboundid.ldap.sdk.Filter filter, String... attributes) throws com.unboundid.ldap.sdk.LDAPException
- Throws:
com.unboundid.ldap.sdk.LDAPException
-
getLdapBaseDn
public static String getLdapBaseDn(IClientDescriptor descriptor)
-
getLdapFilterQuery
public static String getLdapFilterQuery(IClientDescriptor descriptor)
-
getLdapPageSize
public static Integer getLdapPageSize(IClientDescriptor descriptor)
-
-