Package com.netscape.cmsutil.password
Class PasswordStore
java.lang.Object
com.netscape.cmsutil.password.PasswordStore
- Direct Known Subclasses:
NuxwdogPasswordStore,PlainPasswordFile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidcommit()static PasswordStoreConstruct a password store.getId()abstract StringgetPassword(String tag, int iteration) abstract Enumeration<String>getTags()abstract voidabstract ObjectputPassword(String tag, String password) void
-
Field Details
-
logger
public static org.slf4j.Logger logger -
id
-
-
Constructor Details
-
PasswordStore
public PasswordStore()
-
-
Method Details
-
create
Construct a password store. If the process was started by Nuxwdog return a NuxwdogPasswordStore. Otherwise the class name is read from the "passwordClass" key in the map, an instance is constructed, its init() method is called with the value of the "passwordFile" key in the map, and the instance is returned.- Throws:
Exception
-
getId
-
setId
-
init
- Throws:
IOException
-
getPassword
-
getTags
-
putPassword
-
commit
-