Class AggregateCAStore<V extends ClientApprovalStore>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.AggregateStore<V>
-
- org.oa4mp.delegation.server.storage.AggregateCAStore<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Store
,Map
,ClientApprovalStore
public class AggregateCAStore<V extends ClientApprovalStore> extends edu.uiuc.ncsa.security.storage.AggregateStore<V> implements ClientApprovalStore
An aggregate client approval store.Created by Jeff Gaynor
on 5/24/12 at 11:14 AM
-
-
Constructor Summary
Constructors Constructor Description AggregateCAStore(V... stores)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.uiuc.ncsa.security.storage.data.MapConverter
getMapConverter()
int
getPendingCount()
int
getUnapprovedCount()
Get the number of approvals that are as yet unapproved.edu.uiuc.ncsa.security.core.XMLConverter
getXMLConverter()
boolean
isApproved(edu.uiuc.ncsa.security.core.Identifier identifier)
Returns true if the client with the given identifier has been approved, false otherwise.List<edu.uiuc.ncsa.security.core.Identifier>
statusSearch(String status)
-
Methods inherited from class edu.uiuc.ncsa.security.storage.AggregateStore
addStore, checkValid, clear, containsKey, containsValue, create, defaultStore, entrySet, get, getAll, getMostRecent, isEmpty, keySet, put, putAll, register, remove, remove, removeByID, save, search, search, search, size, size, stores, update, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
-
-
-
-
Constructor Detail
-
AggregateCAStore
public AggregateCAStore(V... stores)
-
-
Method Detail
-
isApproved
public boolean isApproved(edu.uiuc.ncsa.security.core.Identifier identifier)
Description copied from interface:ClientApprovalStore
Returns true if the client with the given identifier has been approved, false otherwise. Not that this returns false even in the case that there is no such client.- Specified by:
isApproved
in interfaceClientApprovalStore<V extends ClientApprovalStore>
- Returns:
-
getUnapprovedCount
public int getUnapprovedCount()
Description copied from interface:ClientApprovalStore
Get the number of approvals that are as yet unapproved.- Specified by:
getUnapprovedCount
in interfaceClientApprovalStore<V extends ClientApprovalStore>
- Returns:
-
getPendingCount
public int getPendingCount()
- Specified by:
getPendingCount
in interfaceClientApprovalStore<V extends ClientApprovalStore>
-
getXMLConverter
public edu.uiuc.ncsa.security.core.XMLConverter getXMLConverter()
- Specified by:
getXMLConverter
in interfaceedu.uiuc.ncsa.security.core.Store<V extends ClientApprovalStore>
- Overrides:
getXMLConverter
in classedu.uiuc.ncsa.security.storage.AggregateStore<V extends ClientApprovalStore>
-
getMapConverter
public edu.uiuc.ncsa.security.storage.data.MapConverter getMapConverter()
- Specified by:
getMapConverter
in interfaceClientApprovalStore<V extends ClientApprovalStore>
-
statusSearch
public List<edu.uiuc.ncsa.security.core.Identifier> statusSearch(String status)
- Specified by:
statusSearch
in interfaceClientApprovalStore<V extends ClientApprovalStore>
-
-