summaryrefslogtreecommitdiffstats
path: root/base/server/cmscore/src/com/netscape/cmscore/dbs
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-05-07 16:01:25 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-05-19 20:02:14 -0400
commita9b44bd000caef481ccc59bd88e191b63c57a420 (patch)
treec37ca673161de1e5e5e7afd862c6fbd3a9a10432 /base/server/cmscore/src/com/netscape/cmscore/dbs
parentbe31509dd9a8eb710dca6e2961043cb4043f45fa (diff)
downloadpki-a9b44bd000caef481ccc59bd88e191b63c57a420.tar.gz
pki-a9b44bd000caef481ccc59bd88e191b63c57a420.tar.xz
pki-a9b44bd000caef481ccc59bd88e191b63c57a420.zip
Fixed problem adding enabled TPS profile.
The profile, profile mapping, connector, and authenticator services in TPS have been modified to allow adding enabled entries directly if the user has the proper rights. The authenticator database has been moved into the config package for consistency. Ticket #948
Diffstat (limited to 'base/server/cmscore/src/com/netscape/cmscore/dbs')
-rw-r--r--base/server/cmscore/src/com/netscape/cmscore/dbs/CSCfgDatabase.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/base/server/cmscore/src/com/netscape/cmscore/dbs/CSCfgDatabase.java b/base/server/cmscore/src/com/netscape/cmscore/dbs/CSCfgDatabase.java
index 66cbe5134..4dee392e2 100644
--- a/base/server/cmscore/src/com/netscape/cmscore/dbs/CSCfgDatabase.java
+++ b/base/server/cmscore/src/com/netscape/cmscore/dbs/CSCfgDatabase.java
@@ -62,11 +62,6 @@ public class CSCfgDatabase<E extends CSCfgRecord> extends Database<E> {
return configStore.getString("config." + substoreName + "." + recordID + ".state", "Disabled");
}
- public void createRecordStatus(String recordID, String status) throws EBaseException {
- if (status == null || requiresApproval()) status = "Disabled";
- setRecordStatus(recordID, status);
- }
-
public void setRecordStatus(String recordID, String status) throws EBaseException {
configStore.put("config." + substoreName + "." + recordID + ".state", status);
configStore.put("config." + substoreName + "." + recordID + ".timestamp",