summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cms/servlet/profile
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-09 13:56:59 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-12 10:16:22 -0500
commit7d88f4ee050856b8fef5f260cfe1b3aeec201fda (patch)
tree9d0b80dcbcc63ccb83d32995376168dcd086bab9 /base/common/src/com/netscape/cms/servlet/profile
parent3f24e55923fc986af4c6a08b2b8d45704a905627 (diff)
downloadpki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.tar.gz
pki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.tar.xz
pki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.zip
Removed unused private fields.
Most of unused private fields have been removed because they generate warnings in Eclipse. Some are kept because it might be useful later. Ticket #139
Diffstat (limited to 'base/common/src/com/netscape/cms/servlet/profile')
-rw-r--r--base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java5
-rw-r--r--base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java2
-rw-r--r--base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java13
-rw-r--r--base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java1
4 files changed, 0 insertions, 21 deletions
diff --git a/base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java b/base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java
index fed0b1ee2..6acc1634c 100644
--- a/base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java
@@ -49,10 +49,6 @@ public class ProfileListServlet extends ProfileServlet {
*/
private static final long serialVersionUID = -5118812083812548395L;
- private static final String PROP_AUTHORITY_ID = "authorityId";
-
- private String mAuthorityId = null;
-
public ProfileListServlet() {
super();
}
@@ -65,7 +61,6 @@ public class ProfileListServlet extends ProfileServlet {
*/
public void init(ServletConfig sc) throws ServletException {
super.init(sc);
- mAuthorityId = sc.getInitParameter(PROP_AUTHORITY_ID);
}
/**
diff --git a/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java b/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java
index 9eac8eebd..e975161da 100644
--- a/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java
@@ -128,7 +128,6 @@ public class ProfileServlet extends CMSServlet {
public final static String ARG_OUTPUT_VAL = "outputVal";
private static final String PROP_TEMPLATE = "templatePath";
- private static final String PROP_AUTH_MGR_ID = "authMgrId";
private final static String PROP_AUTHMGR = "AuthMgr";
private final static String PROP_CLIENTAUTH = "GetClientCert";
private static final String PROP_PROFILE_SUB_ID = "profileSubId";
@@ -146,7 +145,6 @@ public class ProfileServlet extends CMSServlet {
private final static String HDR_LANG = "accept-language";
private String mTemplate = null;
- private String mAuthMgrId = null;
protected String mId = null;
protected String mGetClientCert = "false";
diff --git a/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java b/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java
index 93e5b6a4b..16fa2a394 100644
--- a/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java
@@ -77,22 +77,11 @@ public class ProfileSubmitCMCServlet extends ProfileServlet {
private static final long serialVersionUID = -8017841111435988197L;
private static final String ARG_AUTH_TOKEN = "auth_token";
private static final String PROP_PROFILE_ID = "profileId";
- private static final String PROP_AUTHORITY_ID = "authorityId";
- private String mOutputTemplateClassName = null;
private String mProfileId = null;
private String mProfileSubId = null;
- private String mReqType = null;
- private String mAuthorityId = null;
- private String requestBinary = null;
private String requestB64 = null;
- private final static String[] SIGNED_AUDIT_AUTOMATED_REJECTION_REASON = new String[] {
-
- /* 0 */"automated profile cert request rejection: "
- + "indeterminate reason for inability to process "
- + "cert request due to an EBaseException"
- };
private final static String LOGGING_SIGNED_AUDIT_CERT_REQUEST_PROCESSED =
"LOGGING_SIGNED_AUDIT_CERT_REQUEST_PROCESSED_5";
@@ -111,9 +100,7 @@ public class ProfileSubmitCMCServlet extends ProfileServlet {
*/
public void init(ServletConfig sc) throws ServletException {
super.init(sc);
- mAuthorityId = sc.getInitParameter(PROP_AUTHORITY_ID);
mProfileId = sc.getInitParameter(PROP_PROFILE_ID);
- mOutputTemplateClassName = sc.getInitParameter("outputTemplateClass");
mRenderResult = false;
}
diff --git a/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java b/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java
index 7292be519..85ef4fa0f 100644
--- a/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java
@@ -92,7 +92,6 @@ public class ProfileSubmitServlet extends ProfileServlet {
private String mProfileId = null;
private String mProfileSubId = null;
- private String mReqType = null;
private String mAuthorityId = null;
private final static String[] SIGNED_AUDIT_AUTOMATED_REJECTION_REASON = new String[] {