use of org.ldaptive.auth.CompareAuthenticationHandler in project cas by apereo.
the class LdapUtils method getCompareAuthenticationHandler.
private static AuthenticationHandler getCompareAuthenticationHandler(final AbstractLdapAuthenticationProperties l, final ConnectionFactory factory) {
val handler = new CompareAuthenticationHandler(factory);
handler.setPasswordAttribute(l.getPrincipalAttributePassword());
return handler;
}
Aggregations