diff options
author | Christina Fu <cfu@redhat.com> | 2014-05-08 10:04:22 -0700 |
---|---|---|
committer | Christina Fu <cfu@redhat.com> | 2014-05-13 09:34:45 -0700 |
commit | 7c1fc987bdd28b70eee1a5a0bf18c252bb31fa3f (patch) | |
tree | 8ee590f97b7aced5a87c167958ad948c22ad2a78 /base/server/cms | |
parent | 504a01433b5a6a67f843d6ea1f85865212c53141 (diff) | |
download | pki-7c1fc987bdd28b70eee1a5a0bf18c252bb31fa3f.tar.gz pki-7c1fc987bdd28b70eee1a5a0bf18c252bb31fa3f.tar.xz pki-7c1fc987bdd28b70eee1a5a0bf18c252bb31fa3f.zip |
Ticket #879 TPS Rewrite: User Authentication Framework
This patch provides the framework that allows people to
1. write their own authentication plugins using the authentication
plugin framework
2. map the authenticaiton credential from client side (e.g. ESC or alike)
in both display language characters and numbers of credential parameters
to the specified authentication plugin required parameters.
Diffstat (limited to 'base/server/cms')
-rw-r--r-- | base/server/cms/src/com/netscape/cms/authentication/UidPwdDirAuthentication.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/server/cms/src/com/netscape/cms/authentication/UidPwdDirAuthentication.java b/base/server/cms/src/com/netscape/cms/authentication/UidPwdDirAuthentication.java index ffa8ea42f..85fe19635 100644 --- a/base/server/cms/src/com/netscape/cms/authentication/UidPwdDirAuthentication.java +++ b/base/server/cms/src/com/netscape/cms/authentication/UidPwdDirAuthentication.java @@ -154,9 +154,11 @@ public class UidPwdDirAuthentication extends DirBasedAuthentication return userdn; } catch (ELdapException e) { + CMS.debug("Authenticating: User authentication failure: "+e); log(ILogger.LL_FAILURE, CMS.getLogMessage("CANNOT_CONNECT_LDAP", e.toString())); throw e; } catch (LDAPException e) { + CMS.debug("Authenticating: User authentication failure: "+e); switch (e.getLDAPResultCode()) { case LDAPException.NO_SUCH_OBJECT: case LDAPException.LDAP_PARTIAL_RESULTS: |