summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@redhat.com>2012-08-16 20:09:20 -0700
committerMatthew Harmsen <mharmsen@redhat.com>2012-08-17 15:07:19 -0700
commitaaebc76f590a31f6dc44efa98dba950985dc6dd2 (patch)
tree4c9c653cec8f5841b9c0c56be322762e2744aed1 /base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java
parent6028b01f64305eda7540cf96bde658d4ebbec2ed (diff)
downloadpki-aaebc76f590a31f6dc44efa98dba950985dc6dd2.tar.gz
pki-aaebc76f590a31f6dc44efa98dba950985dc6dd2.tar.xz
pki-aaebc76f590a31f6dc44efa98dba950985dc6dd2.zip
PKI Deployment Scriptlets
* TRAC Ticket #266 - for non-master CA subsystems, pkidestroy needs to contact the security domain to update the domain * Made Fedora 17 rely upon tomcatjss 7.0.0 or later * Changed Dogtag 10 build-time and runtime requirements for 'pki-deploy' * Altered PKI Package Dependency Chain (top-to-bottom): pki-ca, pki-kra, pki-ocsp, pki-tks --> pki-deploy --> pki-common * Changed TPS to require a build-time dependency of 'httpd-devel >= 2.4.2' * Clarified RPM build script's usage message
Diffstat (limited to 'base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java')
-rw-r--r--base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java b/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java
index 57a1e6202..7f7929930 100644
--- a/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java
+++ b/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java
@@ -72,7 +72,8 @@ public class DownloadPKCS12 extends CMSServlet {
String pin = (String) httpReq.getSession().getAttribute("pin");
if (pin == null) {
CMS.debug("DownloadPKCS12 process: Failed to get the pin from the cookie.");
- outputError(httpResp, AUTH_FAILURE, "Error: Not authenticated");
+ outputError(httpResp, AUTH_FAILURE, "Error: Not authenticated",
+ null);
return;
}
@@ -84,7 +85,8 @@ public class DownloadPKCS12 extends CMSServlet {
if (!pin.equals(cspin)) {
CMS.debug("DownloadPKCS12 process: Wrong pin");
- outputError(httpResp, AUTH_FAILURE, "Error: Not authenticated");
+ outputError(httpResp, AUTH_FAILURE, "Error: Not authenticated",
+ null);
return;
}