summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/profile/CertInfoProfile.java
diff options
context:
space:
mode:
authoralee <alee@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-03-30 20:40:21 +0000
committeralee <alee@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-03-30 20:40:21 +0000
commit10096be024388d413e455e5f2f700bc14629f325 (patch)
treeea4d6dd6dd1bc2bd7490d9a9b87c0f1d41018b81 /pki/base/common/src/com/netscape/certsrv/profile/CertInfoProfile.java
parenta63676413d89a6145869c5778b5b000dd9f0b924 (diff)
downloadpki-10096be024388d413e455e5f2f700bc14629f325.tar.gz
pki-10096be024388d413e455e5f2f700bc14629f325.tar.xz
pki-10096be024388d413e455e5f2f700bc14629f325.zip
Bugzilla Bug: 472916 - Renewal: certs created during post-installation can not be renewed via profile framework
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@351 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/profile/CertInfoProfile.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/profile/CertInfoProfile.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/profile/CertInfoProfile.java b/pki/base/common/src/com/netscape/certsrv/profile/CertInfoProfile.java
index 95ff4e49b..8593da163 100644
--- a/pki/base/common/src/com/netscape/certsrv/profile/CertInfoProfile.java
+++ b/pki/base/common/src/com/netscape/certsrv/profile/CertInfoProfile.java
@@ -33,6 +33,8 @@ public class CertInfoProfile
private String mName = null;
private String mID = null;
private String mDescription = null;
+ private String mProfileIDMapping = null;
+ private String mProfileSetIDMapping = null;
public CertInfoProfile(String cfg) throws Exception
{
@@ -40,6 +42,8 @@ public class CertInfoProfile
mID = config.getString("id");
mName = config.getString("name");
mDescription = config.getString("description");
+ mProfileIDMapping = config.getString("profileIDMapping");
+ mProfileSetIDMapping = config.getString("profileSetIDMapping");
StringTokenizer st = new StringTokenizer(config.getString("list"), ",");
while (st.hasMoreTokens()) {
String id = (String)st.nextToken();
@@ -81,6 +85,16 @@ public class CertInfoProfile
return mDescription;
}
+ public String getProfileIDMapping()
+ {
+ return mProfileIDMapping;
+ }
+
+ public String getProfileSetIDMapping()
+ {
+ return mProfileSetIDMapping;
+ }
+
public void populate(X509CertInfo info)
{
Enumeration e1 = mDefaults.elements();