public class MemoryAssetStore extends edu.uiuc.ncsa.security.storage.MemoryStore<Asset> implements AssetStore
Created by Jeff Gaynor
on 1/28/13 at 3:07 PM
edu.uiuc.ncsa.security.storage.MemoryStore.MSInitializer
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MemoryAssetStore(IdentifiableProvider<Asset> identifiableProvider) |
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.
|
XMLConverter<Asset> |
getXMLConverter() |
void |
putByToken(Asset asset) |
void |
save(Asset value)
Saves an object.
|
void |
save(String identifier,
Asset v) |
create, getAll, getInitializer, realSave, register, search, update
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
create, getAll, register, 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 MemoryAssetStore(IdentifiableProvider<Asset> identifiableProvider)
public Asset get(String identifier)
AssetStore
get
in interface AssetStore
public void save(String identifier, Asset v)
save
in interface AssetStore
public Asset getByToken(Identifier token)
AssetStore
getByToken
in interface AssetStore
public void putByToken(Asset asset)
putByToken
in interface AssetStore
public void save(Asset value)
Store
public XMLConverter<Asset> getXMLConverter()
getXMLConverter
in interface Store<Asset>
Copyright © 2019. All Rights Reserved.