Search in sources :

Example 1 with PooledCompareAuthenticationHandler

use of org.ldaptive.auth.PooledCompareAuthenticationHandler in project cas by apereo.

the class LdapUtils method getPooledCompareAuthenticationHandler.

private static PooledCompareAuthenticationHandler getPooledCompareAuthenticationHandler(final AbstractLdapAuthenticationProperties l, final PooledConnectionFactory factory) {
    final PooledCompareAuthenticationHandler handler = new PooledCompareAuthenticationHandler(factory);
    handler.setPasswordAttribute(l.getPrincipalAttributePassword());
    return handler;
}
Also used : PooledCompareAuthenticationHandler(org.ldaptive.auth.PooledCompareAuthenticationHandler)

Example 2 with PooledCompareAuthenticationHandler

use of org.ldaptive.auth.PooledCompareAuthenticationHandler in project cas by apereo.

the class Beans method getPooledCompareAuthenticationHandler.

private static PooledCompareAuthenticationHandler getPooledCompareAuthenticationHandler(final AbstractLdapAuthenticationProperties l, final PooledConnectionFactory factory) {
    final PooledCompareAuthenticationHandler handler = new PooledCompareAuthenticationHandler(factory);
    handler.setPasswordAttribute(l.getPrincipalAttributePassword());
    return handler;
}
Also used : PooledCompareAuthenticationHandler(org.ldaptive.auth.PooledCompareAuthenticationHandler)

Aggregations

PooledCompareAuthenticationHandler (org.ldaptive.auth.PooledCompareAuthenticationHandler)2