public abstract class FSClientApprovalStore<V extends ClientApproval> extends edu.uiuc.ncsa.security.storage.FileStore<V> implements ClientApprovalStore<V>
Created by Jeff Gaynor
on 11/3/11 at 3:43 PM
Modifier | Constructor and Description |
---|---|
protected |
FSClientApprovalStore(File storeDirectory,
File indexDirectory,
IdentifiableProviderImpl<V> idp,
edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp,
boolean removeEmptyFiles) |
protected |
FSClientApprovalStore(File file,
IdentifiableProviderImpl<V> idp,
edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp,
boolean removeEmptyFiles) |
Modifier and Type | Method and Description |
---|---|
int |
getPendingCount() |
int |
getUnapprovedCount()
Get the number of approvals that are as yet unapproved.
|
XMLConverter<V> |
getXMLConverter() |
boolean |
isApproved(Identifier identifier)
Returns true if the client with the given identifier has been approved, false otherwise.
|
checkPermissions, clear, containsKey, containsValue, create, createIndexEntry, delete, doSetup, entrySet, get, getAll, getIndexEntry, getItemFile, getItemFile, keySet, loadByIdentifier, loadFile, loadFromIndex, putAll, realRemove, realSave, register, remove, removeIndexEntry, save, search, size, toString, update, values
createIndexEntry, getCreatedItems, hashString, isEmpty, loadStream, put, put
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, getAll, 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 FSClientApprovalStore(File storeDirectory, File indexDirectory, IdentifiableProviderImpl<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp, boolean removeEmptyFiles)
protected FSClientApprovalStore(File file, IdentifiableProviderImpl<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp, boolean removeEmptyFiles)
public boolean isApproved(Identifier identifier)
ClientApprovalStore
isApproved
in interface ClientApprovalStore<V extends ClientApproval>
public int getUnapprovedCount()
ClientApprovalStore
getUnapprovedCount
in interface ClientApprovalStore<V extends ClientApproval>
public int getPendingCount()
getPendingCount
in interface ClientApprovalStore<V extends ClientApproval>
public XMLConverter<V> getXMLConverter()
getXMLConverter
in interface Store<V extends ClientApproval>
getXMLConverter
in class edu.uiuc.ncsa.security.storage.FileStore<V extends ClientApproval>
Copyright © 2019. All Rights Reserved.