Class TwoFactorFS
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.IndexedStreamStore<V>
-
- edu.uiuc.ncsa.security.storage.FileStore<TwoFactorInfo>
-
- org.cilogon.oauth2.servlet.storage.twofactor.TwoFactorFS
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Store<TwoFactorInfo>
,Map<edu.uiuc.ncsa.security.core.Identifier,TwoFactorInfo>
,TwoFactorStore
public class TwoFactorFS extends edu.uiuc.ncsa.security.storage.FileStore<TwoFactorInfo> implements TwoFactorStore
Created by Jeff Gaynor
on 10/18/12 at 9:22 AM
-
-
Constructor Summary
Constructors Modifier Constructor Description TwoFactorFS(File file, edu.uiuc.ncsa.security.core.IdentifiableProvider<TwoFactorInfo> idp, edu.uiuc.ncsa.security.storage.data.MapConverter<TwoFactorInfo> cp, boolean removeEmptyFiles, boolean removeFailedFiles)
protected
TwoFactorFS(File storeDirectory, File indexDirectory, edu.uiuc.ncsa.security.core.IdentifiableProvider<TwoFactorInfo> identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter<TwoFactorInfo> twoFactorInfoMapConverter, boolean removeEmptyFiles, boolean removeFailedFiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TwoFactorInfo>
getMostRecent(int n, List<String> attributes)
-
Methods inherited from class edu.uiuc.ncsa.security.storage.FileStore
checkPermissions, clear, containsKey, containsValue, create, createIndexEntry, delete, doSetup, entrySet, get, getAll, getIndexDirectory, getIndexEntry, getItemFile, getItemFile, getMapConverter, getStorageDirectory, getXMLConverter, keySet, loadByIdentifier, loadFile, loadFromIndex, putAll, realRemove, realSave, register, remove, remove, removeIndexEntry, save, search, search, search, setIndexDirectory, setStorageDirectory, size, size, toString, update, values
-
Methods inherited from class edu.uiuc.ncsa.security.storage.IndexedStreamStore
createIndexEntry, getCreatedItems, hashString, isEmpty, loadStream, put, put
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
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
-
Methods inherited from interface edu.uiuc.ncsa.security.core.Store
create, getAll, getXMLConverter, register, remove, save, search, search, search, size, update
-
Methods inherited from interface org.cilogon.oauth2.servlet.storage.twofactor.TwoFactorStore
getMapConverter
-
-
-
-
Constructor Detail
-
TwoFactorFS
public TwoFactorFS(File file, edu.uiuc.ncsa.security.core.IdentifiableProvider<TwoFactorInfo> idp, edu.uiuc.ncsa.security.storage.data.MapConverter<TwoFactorInfo> cp, boolean removeEmptyFiles, boolean removeFailedFiles)
-
TwoFactorFS
protected TwoFactorFS(File storeDirectory, File indexDirectory, edu.uiuc.ncsa.security.core.IdentifiableProvider<TwoFactorInfo> identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter<TwoFactorInfo> twoFactorInfoMapConverter, boolean removeEmptyFiles, boolean removeFailedFiles)
-
-
Method Detail
-
getMostRecent
public List<TwoFactorInfo> getMostRecent(int n, List<String> attributes)
- Specified by:
getMostRecent
in interfaceedu.uiuc.ncsa.security.core.Store<TwoFactorInfo>
-
-