if ( userEntry == null )
{
LdapDN dn = opContext.getDn();
String upDn = ( dn == null ? "" : dn.getUpName() );
throw new LdapAuthenticationException( "Failed to lookup user for authentication: "
+ upDn );
}
}
catch ( Exception cause )
{
LOG.error( "Authentication error : " + cause.getMessage() );
LdapAuthenticationException e = new LdapAuthenticationException( cause.getMessage() );
e.setRootCause( e );
throw e;
}
Value<?> userPassword;