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/util/src/com/netscape/cmsutil/password/IPasswordStore.java | |
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/util/src/com/netscape/cmsutil/password/IPasswordStore.java')
-rw-r--r-- | base/util/src/com/netscape/cmsutil/password/IPasswordStore.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/util/src/com/netscape/cmsutil/password/IPasswordStore.java b/base/util/src/com/netscape/cmsutil/password/IPasswordStore.java index 49b2610fa..00ec4ccdf 100644 --- a/base/util/src/com/netscape/cmsutil/password/IPasswordStore.java +++ b/base/util/src/com/netscape/cmsutil/password/IPasswordStore.java @@ -23,7 +23,7 @@ import java.util.Enumeration; public interface IPasswordStore { public void init(String pwdPath) throws IOException; - public String getPassword(String tag); + public String getPassword(String tag, int iteration); public Enumeration<String> getTags(); |