public interface AssetStore extends Store<Asset>
Asset
s. This is a map that is keyed off an
Identifier
generated by the client. The only requirement on the identifier is
it be a URI, otherwise it may be arbitrary.
ClientEnvironment.getAssetStore()
Note that if there is no asset store specified, then calls for the store return a null,
therefore implementors should check if there has been a store with the
ClientEnvironment.hasAssetStore()
method first.
Created by Jeff Gaynor
on 1/23/13 at 4:42 PM
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 |
save(String identifier,
Asset v) |
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
Asset get(String identifier)
identifier
- Asset getByToken(Identifier token)
token
- void putByToken(Asset asset)
Copyright © 2019. All Rights Reserved.