Class MemoryAssetStore

    • Constructor Detail

      • MemoryAssetStore

        public MemoryAssetStore​(edu.uiuc.ncsa.security.core.IdentifiableProvider<Asset> identifiableProvider)
    • 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:
      • save

        public void save​(Asset value)
        Specified by:
        save in interface edu.uiuc.ncsa.security.core.Store<Asset>
        Overrides:
        save in class edu.uiuc.ncsa.security.storage.MemoryStore<Asset>
      • getXMLConverter

        public edu.uiuc.ncsa.security.core.XMLConverter<Asset> getXMLConverter()
        Specified by:
        getXMLConverter in interface edu.uiuc.ncsa.security.core.Store<Asset>
      • getMostRecent

        public List<Asset> getMostRecent​(int n,
                                         List<String> attributes)
        Specified by:
        getMostRecent in interface edu.uiuc.ncsa.security.core.Store<Asset>