public final class SecureQueuedStorage extends QueuedStorage implements SecureStorage
QueuedStorage. I.e. its delegate is an instance of
SecureStorage.SecureStorage,
QueuedStoragedelegate, executor, fileExecutor| Constructor and Description |
|---|
SecureQueuedStorage(SecureStorage storage) |
| Modifier and Type | Method and Description |
|---|---|
AuthToken |
generateToken()
Generates a token in the storage that can be used to authenticate cmd channel requests.
|
boolean |
verifyToken(AuthToken token)
Verifies the specified token in the storage.
|
createAdd, createQuery, createRemove, createReplace, createUpdate, getAgentId, getConnection, getCount, loadFile, purge, registerCategory, removePojo, saveFile, setAgentId, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAdd, createQuery, createRemove, createReplace, createUpdate, getAgentId, getConnection, getCount, loadFile, purge, registerCategory, removePojo, saveFile, setAgentId, shutdownpublic SecureQueuedStorage(SecureStorage storage)
public AuthToken generateToken() throws StorageException
SecureStoragegenerateToken in interface SecureStorageStorageException - if authentication fails at this pointpublic boolean verifyToken(AuthToken token)
SecureStorageverifyToken in interface SecureStoragetrue if authentication succeeded, false otherwiseCopyright © 2013. All Rights Reserved.