Interface IPasswordStore
- All Known Implementing Classes:
NuxwdogPasswordStore,PlainPasswordFile
public interface IPasswordStore
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit()static IPasswordStoreConstruct a password store.getPassword(String tag, int iteration) getTags()voidputPassword(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
-