| java.lang.Object org.jboss.security.srp.SerialObjectStore
SerialObjectStore | public class SerialObjectStore implements SRPVerifierStore(Code) | | A simple implementation of the SRPVerifierStore that uses a
file store made up of VerifierInfo serialized objects. Users and
be added or removed using the addUser and delUser methods. User passwords
are never stored in plaintext either in memory or in the serialized file.
Note that usernames and passwords are logged when a user is added
via the addUser operation. This is a development class and its use in
a production environment is not advised.
See Also: SerialObjectStore.addUser(String,String) See Also: SerialObjectStore.delUser(String) author: Scott.Stark@jboss.org version: $Revision: 57210 $ |
Constructor Summary | |
public | SerialObjectStore() Create an in memory store and load any VerifierInfo found in
./SerialObjectStore.ser if it exists. | public | SerialObjectStore(File storeFile) Create an in memory store and load any VerifierInfo found in
the storeFile archive if it exists. |
SerialObjectStore | public SerialObjectStore() throws IOException(Code) | | Create an in memory store and load any VerifierInfo found in
./SerialObjectStore.ser if it exists.
|
SerialObjectStore | public SerialObjectStore(File storeFile) throws IOException(Code) | | Create an in memory store and load any VerifierInfo found in
the storeFile archive if it exists.
|
save | public void save(File storeFile) throws IOException(Code) | | Save the current in memory map of VerifierInfo to the indicated
storeFile by simply serializing the map to the file.
|
setUserVerifier | public void setUserVerifier(String username, VerifierInfo info)(Code) | | |
|
|