Class SQLAssetStore

  • All Implemented Interfaces:
    AssetStore, edu.uiuc.ncsa.security.core.Store<Asset>, Map<edu.uiuc.ncsa.security.core.Identifier,​Asset>

    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

    • Constructor Detail

      • SQLAssetStore

        public SQLAssetStore()
      • SQLAssetStore

        public 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)
    • Method Detail

      • get

        public Asset get​(String identifier)
        Description copied from interface: AssetStore
        Simplifying calls. These should simply convert the string to an identifier.
        Specified by:
        get in interface AssetStore
        Returns:
      • getByToken

        public Asset getByToken​(edu.uiuc.ncsa.security.core.Identifier token)
        Description copied from interface: AssetStore
        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.
        Specified by:
        getByToken in interface AssetStore
        Returns:
      • getCreationTSField

        public String getCreationTSField()
        Specified by:
        getCreationTSField in class edu.uiuc.ncsa.security.storage.sql.SQLStore<Asset>