Package com.netscape.cmsutil.password
Interface IPasswordStore
- All Known Implementing Classes:
NuxwdogPasswordStore
,PlainPasswordFile
public interface IPasswordStore
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
static IPasswordStore
Construct a password store.getPassword
(String tag, int iteration) getTags()
void
putPassword
(String tag, String password) void
-
Field Details
-
logger
static final org.slf4j.Logger logger
-
-
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
-
init
- Throws:
IOException
-
getPassword
-
getTags
Enumeration<String> getTags() -
putPassword
-
commit
-
setId
-