public class FSAssetStore extends edu.uiuc.ncsa.security.storage.FileStore<Asset> implements AssetStore
Created by Jeff Gaynor
on 1/28/13 at 1:14 PM
| Constructor and Description |
|---|
FSAssetStore(File storeDirectory,
File indexDirectory,
edu.uiuc.ncsa.security.core.IdentifiableProvider identifiableProvider,
edu.uiuc.ncsa.security.storage.data.MapConverter converter,
boolean removeEmptyFiles) |
FSAssetStore(File file,
edu.uiuc.ncsa.security.core.IdentifiableProvider idp,
edu.uiuc.ncsa.security.storage.data.MapConverter cp,
boolean removeEmptyFiles) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
get(String identifier)
Simplifying calls.
|
Asset |
getByToken(edu.uiuc.ncsa.security.core.Identifier token)
Part of solution to OAUTH-146: JSESSIONID bug causes session crossover if
users have repeated failed attempts to get a cert and keep opening a
new browser window each time.
|
void |
putByToken(Asset asset) |
void |
realSave(boolean checkExists,
Asset t) |
void |
save(String identifier,
Asset identifiable) |
checkPermissions, clear, containsKey, containsValue, create, createIndexEntry, delete, doSetup, entrySet, get, getAll, getIndexEntry, getItemFile, getItemFile, getXMLConverter, keySet, loadByIdentifier, loadFile, loadFromIndex, putAll, realRemove, register, remove, removeIndexEntry, save, search, size, toString, update, valuescreateIndexEntry, getCreatedItems, hashString, isEmpty, loadStream, put, putclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, getAll, getXMLConverter, register, save, search, updateclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic FSAssetStore(File file, edu.uiuc.ncsa.security.core.IdentifiableProvider idp, edu.uiuc.ncsa.security.storage.data.MapConverter cp, boolean removeEmptyFiles)
public Asset get(String identifier)
AssetStoreget in interface AssetStorepublic void save(String identifier, Asset identifiable)
save in interface AssetStorepublic void realSave(boolean checkExists,
Asset t)
realSave in class edu.uiuc.ncsa.security.storage.FileStore<Asset>public Asset getByToken(edu.uiuc.ncsa.security.core.Identifier token)
AssetStoregetByToken in interface AssetStorepublic void putByToken(Asset asset)
putByToken in interface AssetStoreCopyright © 2019. All Rights Reserved.