|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.auth.AbstractSearchOperationFactory
org.ldaptive.auth.AbstractSearchEntryResolver
org.ldaptive.auth.PooledSearchEntryResolver
public class PooledSearchEntryResolver
Looks up the LDAP entry associated with a user using a pool of LDAP connections. Resolution will not occur using the connection that the user attempted to bind on.
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.auth.AbstractSearchOperationFactory |
|---|
logger |
| Constructor Summary | |
|---|---|
PooledSearchEntryResolver()
Default constructor. |
|
PooledSearchEntryResolver(PooledConnectionFactory cf)
Creates a new pooled search entry resolver. |
|
PooledSearchEntryResolver(PooledConnectionFactory cf,
String... attrs)
Deprecated. return attributes are provided in the authentication criteria |
|
| Method Summary | |
|---|---|
PooledConnectionFactory |
getConnectionFactory()
Returns the connection factory. |
protected SearchResult |
performLdapSearch(Connection conn,
AuthenticationCriteria ac)
Executes an ldap search with the supplied authentication criteria. |
void |
setConnectionFactory(PooledConnectionFactory cf)
Sets the connection factory. |
String |
toString()
|
| Methods inherited from class org.ldaptive.auth.AbstractSearchOperationFactory |
|---|
createSearchOperation, getSearchCache, getSearchExceptionHandler, getSearchResponseHandlers, setSearchCache, setSearchExceptionHandler, setSearchResponseHandlers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PooledSearchEntryResolver()
public PooledSearchEntryResolver(PooledConnectionFactory cf)
cf - connection factory
@Deprecated
public PooledSearchEntryResolver(PooledConnectionFactory cf,
String... attrs)
cf - connection factoryattrs - to return| Method Detail |
|---|
public PooledConnectionFactory getConnectionFactory()
getConnectionFactory in interface PooledConnectionFactoryManagerpublic void setConnectionFactory(PooledConnectionFactory cf)
setConnectionFactory in interface PooledConnectionFactoryManagercf - connection factory
protected SearchResult performLdapSearch(Connection conn,
AuthenticationCriteria ac)
throws LdapException
performLdapSearch in class AbstractSearchEntryResolverconn - that the user attempted to bind onac - authentication criteria associated with the user
LdapException - if an error occurs attempting the searchpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||