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;
}
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;
}
Aggregations