diff options
author | Ade Lee <alee@redhat.com> | 2015-04-16 22:26:03 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2015-04-22 00:01:47 -0400 |
commit | 2c171ca8fafc1d688b9b965d1255a81aba6aa7ee (patch) | |
tree | 52ba5ee52e94789e7d9aebe690ee5e9e96a4f1bd /base/common/src/com/netscape/certsrv/apps | |
parent | 922e237279fcf8ce9827f0e3cbed904758ad5123 (diff) | |
download | pki-2c171ca8fafc1d688b9b965d1255a81aba6aa7ee.tar.gz pki-2c171ca8fafc1d688b9b965d1255a81aba6aa7ee.tar.xz pki-2c171ca8fafc1d688b9b965d1255a81aba6aa7ee.zip |
Add nuxwdog functionality to Dogtag
This is the first of several commits. This adds a LifecycleListener
to call init() on the nuxwdog client before any connectors or webapps
start up, and call sendEndInit() once initialization completes.
Code is also added to prompt for and test required passwords on startup.
All that is required to use nuxwdog is to start the server using nuxwdog.
An environment variable will be set that will trigger creation of the
NuxwdogPasswordStore. We expect tags for the required passwords to be in
cms.passwordList
Diffstat (limited to 'base/common/src/com/netscape/certsrv/apps')
-rw-r--r-- | base/common/src/com/netscape/certsrv/apps/CMS.java | 2 | ||||
-rw-r--r-- | base/common/src/com/netscape/certsrv/apps/ICMSEngine.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/base/common/src/com/netscape/certsrv/apps/CMS.java b/base/common/src/com/netscape/certsrv/apps/CMS.java index 85c8e58ca..5ba6dc0a6 100644 --- a/base/common/src/com/netscape/certsrv/apps/CMS.java +++ b/base/common/src/com/netscape/certsrv/apps/CMS.java @@ -1647,7 +1647,7 @@ public final class CMS { _engine.setListOfVerifiedCerts(size, interval, unknownStateInterval); } - public static IPasswordStore getPasswordStore() { + public static IPasswordStore getPasswordStore() throws EBaseException { return _engine.getPasswordStore(); } diff --git a/base/common/src/com/netscape/certsrv/apps/ICMSEngine.java b/base/common/src/com/netscape/certsrv/apps/ICMSEngine.java index 5c78a7c0f..294447d29 100644 --- a/base/common/src/com/netscape/certsrv/apps/ICMSEngine.java +++ b/base/common/src/com/netscape/certsrv/apps/ICMSEngine.java @@ -1135,7 +1135,7 @@ public interface ICMSEngine extends ISubsystem { */ public void forceShutdown(); - public IPasswordStore getPasswordStore(); + public IPasswordStore getPasswordStore() throws EBaseException; public ISecurityDomainSessionTable getSecurityDomainSessionTable(); |