public class OA2MTStore<V extends OA2ServiceTransaction> extends TransactionMemoryStore<V> implements RefreshTokenStore<V>, UsernameFindable<V>
Created by Jeff Gaynor
on 3/25/14 at 12:51 PM
TransactionMemoryStore.TokenIndex
edu.uiuc.ncsa.security.storage.MemoryStore.MSInitializer
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
OA2MTStore(IdentifiableProvider identifiableProvider) |
Modifier and Type | Method and Description |
---|---|
OA2ServiceTransaction |
get(RefreshToken refreshToken) |
V |
getByUsername(String username) |
TransactionMemoryStore.TokenIndex |
getRTIndex() |
TransactionMemoryStore.TokenIndex |
getUserIndex() |
protected void |
removeItem(V value)
Override this as needed to remove an item from all stores.
|
protected void |
updateIndices(V v)
Override this as needed to update any and all indices.
|
clear, clearIndices, get, get, get, getAgIndex, getAtIndex, getvIndex, getXMLConverter, register, remove, save, update
create, getAll, getInitializer, realSave, search
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, 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 OA2MTStore(IdentifiableProvider identifiableProvider)
public TransactionMemoryStore.TokenIndex getRTIndex()
public TransactionMemoryStore.TokenIndex getUserIndex()
protected void updateIndices(V v)
TransactionMemoryStore
updateIndices
in class TransactionMemoryStore<V extends OA2ServiceTransaction>
protected void removeItem(V value)
TransactionMemoryStore
removeItem
in class TransactionMemoryStore<V extends OA2ServiceTransaction>
public OA2ServiceTransaction get(RefreshToken refreshToken)
get
in interface RefreshTokenStore<V extends OA2ServiceTransaction>
public V getByUsername(String username)
getByUsername
in interface UsernameFindable<V extends OA2ServiceTransaction>
Copyright © 2019. All Rights Reserved.