Search in sources :

Example 1 with CompareAuthenticationHandler

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;
}
Also used : lombok.val(lombok.val) CompareAuthenticationHandler(org.ldaptive.auth.CompareAuthenticationHandler)

Aggregations

lombok.val (lombok.val)1 CompareAuthenticationHandler (org.ldaptive.auth.CompareAuthenticationHandler)1