Refactoring of BindAuthenticator to allow an extended version which uses ppolicy controls. Added no-cause constructor in LdapDataAccessException for use in data parsing errors.
@ -55,14 +55,14 @@ public final class BindAuthenticator extends AbstractLdapAuthenticator {
@@ -55,14 +55,14 @@ public final class BindAuthenticator extends AbstractLdapAuthenticator {
@ -75,10 +75,9 @@ public final class BindAuthenticator extends AbstractLdapAuthenticator {
@@ -75,10 +75,9 @@ public final class BindAuthenticator extends AbstractLdapAuthenticator {
logger.debug("Attempting to bind with DN = "+userDn);
@ -86,15 +85,9 @@ public final class BindAuthenticator extends AbstractLdapAuthenticator {
@@ -86,15 +85,9 @@ public final class BindAuthenticator extends AbstractLdapAuthenticator {
// This will be thrown if an invalid user name is used and the method may
// be called multiple times to try different names, so we trap the exception.
@ -108,4 +101,17 @@ public final class BindAuthenticator extends AbstractLdapAuthenticator {
@@ -108,4 +101,17 @@ public final class BindAuthenticator extends AbstractLdapAuthenticator {