use of org.ldaptive.control.PasswordPolicyControl in project cas by apereo.
the class Beans method getPooledBindAuthenticationHandler.
private static PooledBindAuthenticationHandler getPooledBindAuthenticationHandler(final AbstractLdapAuthenticationProperties l, final PooledConnectionFactory factory) {
final PooledBindAuthenticationHandler handler = new PooledBindAuthenticationHandler(factory);
handler.setAuthenticationControls(new PasswordPolicyControl());
return handler;
}
use of org.ldaptive.control.PasswordPolicyControl in project cas by apereo.
the class LdapUtils method getPooledBindAuthenticationHandler.
private static PooledBindAuthenticationHandler getPooledBindAuthenticationHandler(final AbstractLdapAuthenticationProperties l, final PooledConnectionFactory factory) {
final PooledBindAuthenticationHandler handler = new PooledBindAuthenticationHandler(factory);
handler.setAuthenticationControls(new PasswordPolicyControl());
return handler;
}
Aggregations