From 7c1fc987bdd28b70eee1a5a0bf18c252bb31fa3f Mon Sep 17 00:00:00 2001 From: Christina Fu Date: Thu, 8 May 2014 10:04:22 -0700 Subject: 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. --- .../src/com/netscape/cms/authentication/UidPwdDirAuthentication.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'base/server/cms/src') 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: -- cgit