diff options
author | Endi S. Dewata <edewata@redhat.com> | 2015-04-08 02:21:56 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2015-04-08 18:08:11 -0400 |
commit | 94ab251fd231919db05cf2e928102c15a5f2fc3c (patch) | |
tree | e0924f225b404b37f0deeb8bd17f8fbe94d1a707 /base/common/src/com/netscape/certsrv/common | |
parent | b2082c227af0b3f27162ead335cd46bd145dba35 (diff) | |
download | pki-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.java | 5 |
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"; } |