public class LdaptiveAuthenticatorBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
LdaptiveAuthenticatorBuilder() |
Modifier and Type | Method and Description |
---|---|
static org.ldaptive.auth.Authenticator |
getAuthenticator(LdapAuthenticationProperties l) |
static org.ldaptive.pool.ConnectionPool |
newBlockingConnectionPool(AbstractLdapProperties l)
New blocking connection pool connection pool.
|
static org.ldaptive.ConnectionConfig |
newConnectionConfig(AbstractLdapProperties l)
New connection config connection config.
|
static org.ldaptive.DefaultConnectionFactory |
newConnectionFactory(AbstractLdapProperties l)
New connection factory connection factory.
|
static Duration |
newDuration(long length)
New duration.
|
static org.ldaptive.pool.PoolConfig |
newPoolConfig(AbstractLdapProperties l)
New pool config pool config.
|
static org.ldaptive.pool.PooledConnectionFactory |
newPooledConnectionFactory(AbstractLdapProperties l)
New pooled connection factory pooled connection factory.
|
static org.ldaptive.auth.EntryResolver |
newSearchEntryResolver(LdapAuthenticationProperties l)
New dn resolver entry resolver.
|
static org.ldaptive.SearchExecutor |
newSearchExecutor(String baseDn,
String filterQuery,
String... params)
New search executor search executor.
|
static org.ldaptive.SearchFilter |
newSearchFilter(String filterQuery,
String... params)
Constructs a new search filter using
SearchRequest.searchFilter as a template and
the username as a parameter. |
static org.ldaptive.SearchRequest |
newSearchRequest(String baseDn,
org.ldaptive.SearchFilter filter)
Builds a new request.
|
public static org.ldaptive.auth.Authenticator getAuthenticator(LdapAuthenticationProperties l)
public static org.ldaptive.auth.EntryResolver newSearchEntryResolver(LdapAuthenticationProperties l)
l
- the ldap settingspublic static org.ldaptive.ConnectionConfig newConnectionConfig(AbstractLdapProperties l)
l
- the ldap propertiespublic static org.ldaptive.pool.PoolConfig newPoolConfig(AbstractLdapProperties l)
l
- the ldap propertiespublic static org.ldaptive.DefaultConnectionFactory newConnectionFactory(AbstractLdapProperties l)
l
- the lpublic static org.ldaptive.pool.ConnectionPool newBlockingConnectionPool(AbstractLdapProperties l)
l
- the lpublic static org.ldaptive.pool.PooledConnectionFactory newPooledConnectionFactory(AbstractLdapProperties l)
l
- the ldap propertiespublic static Duration newDuration(long length)
length
- the length in seconds.public static org.ldaptive.SearchRequest newSearchRequest(String baseDn, org.ldaptive.SearchFilter filter)
baseDn
- the base dnfilter
- the filterpublic static org.ldaptive.SearchFilter newSearchFilter(String filterQuery, String... params)
SearchRequest.searchFilter
as a template and
the username as a parameter.filterQuery
- the query filterparams
- the usernameCopyright © 2017. All rights reserved.