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,
IdentifiableProvider identifiableProvider,
edu.uiuc.ncsa.security.storage.data.MapConverter converter,
boolean removeEmptyFiles) |
FSAssetStore(File file,
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(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, values
createIndexEntry, getCreatedItems, hashString, isEmpty, loadStream, put, put
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, getAll, getXMLConverter, register, save, search, update
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public FSAssetStore(File file, IdentifiableProvider idp, edu.uiuc.ncsa.security.storage.data.MapConverter cp, boolean removeEmptyFiles)
public FSAssetStore(File storeDirectory, File indexDirectory, IdentifiableProvider identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter converter, boolean removeEmptyFiles)
public Asset get(String identifier)
AssetStore
get
in interface AssetStore
public void save(String identifier, Asset identifiable)
save
in interface AssetStore
public void realSave(boolean checkExists, Asset t)
realSave
in class edu.uiuc.ncsa.security.storage.FileStore<Asset>
public Asset getByToken(Identifier token)
AssetStore
getByToken
in interface AssetStore
public void putByToken(Asset asset)
putByToken
in interface AssetStore
Copyright © 2019. All Rights Reserved.