summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape
diff options
context:
space:
mode:
authorjmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-05-17 22:56:40 +0000
committerjmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-05-17 22:56:40 +0000
commit670f9217f789878824f4db5c6e395575213e5beb (patch)
tree416d723f7b141e10b2924a6223d95db810ff0fa6 /pki/base/common/src/com/netscape
parent9409befca40f01cb161c764d081b5a6e53f1698a (diff)
downloadpki-670f9217f789878824f4db5c6e395575213e5beb.tar.gz
pki-670f9217f789878824f4db5c6e395575213e5beb.tar.xz
pki-670f9217f789878824f4db5c6e395575213e5beb.zip
Fix Bugzilla Bug#704792 - - CC_LAB_EVAL: CA agent interface: SubjectID=$ fails audit evaluation.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1997 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common/src/com/netscape')
-rw-r--r--pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java
index 8f3a0f688..eb4f603e7 100644
--- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java
+++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java
@@ -104,9 +104,11 @@ public class ProfileApproveServlet extends ProfileServlet {
try {
try {
authToken = authenticate(cmsReq);
+ auditSubjectID = auditSubjectID();
CMS.debug("uid=" + authToken.getInString("userid"));
userid = authToken.getInString("userid");
} catch (Exception e) {
+ auditSubjectID = auditSubjectID();
CMS.debug(e.toString());
log(ILogger.LL_FAILURE,
CMS.getLogMessage("ADMIN_SRVLT_AUTH_FAILURE",