summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/common
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-04-08 02:21:56 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-04-08 18:08:11 -0400
commit94ab251fd231919db05cf2e928102c15a5f2fc3c (patch)
treee0924f225b404b37f0deeb8bd17f8fbe94d1a707 /base/common/src/com/netscape/certsrv/common
parentb2082c227af0b3f27162ead335cd46bd145dba35 (diff)
downloadpki-94ab251fd231919db05cf2e928102c15a5f2fc3c.tar.gz
pki-94ab251fd231919db05cf2e928102c15a5f2fc3c.tar.xz
pki-94ab251fd231919db05cf2e928102c15a5f2fc3c.zip
Fixed problem with TPS profile default status.
The base class of ProfileDatabase (i.e. CSCfgDatabase) has been modified to return the correct default value (i.e. Enabled) if the status parameter doesn't exist. The TPSProcessor has been modified to use ProfileDatabase and other TPS codes have also been changed to use constants instead of string literals to ensure consistency. https://fedorahosted.org/pki/ticket/1270
Diffstat (limited to 'base/common/src/com/netscape/certsrv/common')
-rw-r--r--base/common/src/com/netscape/certsrv/common/Constants.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/common/Constants.java b/base/common/src/com/netscape/certsrv/common/Constants.java
index d91fded2e..100b91110 100644
--- a/base/common/src/com/netscape/certsrv/common/Constants.java
+++ b/base/common/src/com/netscape/certsrv/common/Constants.java
@@ -733,4 +733,9 @@ public interface Constants {
public final static String PR_REPLICATION_PORT_2 = "replication.master2.port";
public final static String PR_REPLICATION_BINDDN_2 = "replication.master2.binddn";
public final static String PR_REPLICATION_CHANGELOGDB_2 = "replication.master2.changelogdb";
+
+ //Config
+ public final static String CFG_ENABLED = "Enabled";
+ public final static String CFG_DISABLED = "Disabled";
+ public final static String CFG_PENDING_APPROVAL = "Pending_Approval";
}