public class SQLAssetStore extends edu.uiuc.ncsa.security.storage.sql.SQLStore<Asset> implements AssetStore
Created by Jeff Gaynor
on 1/28/13 at 2:11 PM
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TABLENAME |
Constructor and Description |
---|
SQLAssetStore() |
SQLAssetStore(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool,
edu.uiuc.ncsa.security.storage.sql.internals.Table table,
javax.inject.Provider<Asset> assetProvider,
edu.uiuc.ncsa.security.storage.data.MapConverter<Asset> converter) |
Modifier and Type | Method and Description |
---|---|
Asset |
get(String identifier)
Simplifying calls.
|
protected AssetStoreTable |
getAST() |
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 asset) |
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
public static final String DEFAULT_TABLENAME
public Asset get(String identifier)
AssetStore
get
in interface AssetStore
public void save(String identifier, Asset asset)
save
in interface AssetStore
protected AssetStoreTable getAST()
public Asset getByToken(Identifier token)
AssetStore
getByToken
in interface AssetStore
public void putByToken(Asset asset)
putByToken
in interface AssetStore
Copyright © 2019. All Rights Reserved.