public abstract class FSTransactionStore<V extends BasicTransaction> extends edu.uiuc.ncsa.security.storage.FileStore<V> implements TransactionStore<V>
Created by Jeff Gaynor
on Apr 28, 2010 at 3:01:10 PM
Modifier and Type | Field and Description |
---|---|
protected TokenForge |
tokenForge |
Modifier | Constructor and Description |
---|---|
protected |
FSTransactionStore(File storeDirectory,
File indexDirectory,
IdentifiableProvider<V> idp,
TokenForge tokenForge,
edu.uiuc.ncsa.security.storage.data.MapConverter<V> mp,
boolean removeEmptyFiles) |
|
FSTransactionStore(File file,
IdentifiableProvider<V> idp,
TokenForge tokenForge,
edu.uiuc.ncsa.security.storage.data.MapConverter<V> mp,
boolean removeEmptyFiles) |
Modifier and Type | Method and Description |
---|---|
V |
get(AccessToken accessToken) |
V |
get(AuthorizationGrant authorizationGrant) |
V |
get(Verifier verifier) |
V |
realRemove(V thingie) |
void |
realSave(boolean checkExists,
V t)
Add code to store index references to the transaction by access token, verifier and
authorization grant.
|
checkPermissions, clear, containsKey, containsValue, create, createIndexEntry, delete, doSetup, entrySet, get, getAll, getIndexEntry, getItemFile, getItemFile, getXMLConverter, keySet, loadByIdentifier, loadFile, loadFromIndex, putAll, 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
protected TokenForge tokenForge
protected FSTransactionStore(File storeDirectory, File indexDirectory, IdentifiableProvider<V> idp, TokenForge tokenForge, edu.uiuc.ncsa.security.storage.data.MapConverter<V> mp, boolean removeEmptyFiles)
public FSTransactionStore(File file, IdentifiableProvider<V> idp, TokenForge tokenForge, edu.uiuc.ncsa.security.storage.data.MapConverter<V> mp, boolean removeEmptyFiles)
public void realSave(boolean checkExists, V t)
realSave
in class edu.uiuc.ncsa.security.storage.FileStore<V extends BasicTransaction>
checkExists
- t
- public V realRemove(V thingie)
realRemove
in class edu.uiuc.ncsa.security.storage.FileStore<V extends BasicTransaction>
public V get(AuthorizationGrant authorizationGrant)
get
in interface TransactionStore<V extends BasicTransaction>
public V get(AccessToken accessToken)
get
in interface TransactionStore<V extends BasicTransaction>
public V get(Verifier verifier)
get
in interface TransactionStore<V extends BasicTransaction>
Copyright © 2019. All Rights Reserved.