public abstract class SQLBaseTransactionStore<V extends BasicTransaction> extends edu.uiuc.ncsa.security.storage.sql.SQLStore<V> implements TransactionStore<V>
Created by Jeff Gaynor
on May 10, 2010 at 3:45:05 PM
Modifier and Type | Field and Description |
---|---|
protected TokenForge |
tokenForge |
Modifier | Constructor and Description |
---|---|
protected |
SQLBaseTransactionStore(TokenForge tokenForge,
edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool,
edu.uiuc.ncsa.security.storage.sql.internals.Table table,
javax.inject.Provider<V> idp,
edu.uiuc.ncsa.security.storage.data.MapConverter converter) |
Modifier and Type | Method and Description |
---|---|
V |
get(AccessToken accessToken) |
V |
get(AuthorizationGrant tempCred) |
V |
get(Verifier verifier) |
protected String |
getToken(Token at) |
protected V |
getTransaction(String identifier,
String statement)
Since there are several possible statements (by temp cred, access token, verifier) that
will return a transaction, this method will handle them all.
|
BasicTransactionTable |
getTransactionTable() |
checkColumns, checkTable, clear, containsKey, containsValue, create, depopulate, entrySet, get, getAll, getTable, getXMLConverter, isEmpty, keySet, populate, put, putAll, register, remove, rsToMap, save, search, size, size, toString, update, values
destroyConnection, getConnection, getConnectionPool, releaseConnection, setConnectionPool
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 SQLBaseTransactionStore(TokenForge tokenForge, edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool, edu.uiuc.ncsa.security.storage.sql.internals.Table table, javax.inject.Provider<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter converter)
public BasicTransactionTable getTransactionTable()
protected V getTransaction(String identifier, String statement)
identifier
- statement
- public V get(AuthorizationGrant tempCred)
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>
protected String getToken(Token at) throws SQLException
SQLException
Copyright © 2019. All Rights Reserved.