Class GenericClientStoreUtils
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.GenericStoreUtils
-
- org.oa4mp.delegation.server.storage.impl.GenericClientStoreUtils
-
public class GenericClientStoreUtils extends edu.uiuc.ncsa.security.storage.GenericStoreUtils
Created by Jeff Gaynor
on 8/10/21 at 9:41 AM
-
-
Constructor Summary
Constructors Constructor Description GenericClientStoreUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static boolean
acceptLADate(UUCConfiguration uucConfiguration, Date lastAccessed)
If the date complies with the configuration.static List<edu.uiuc.ncsa.security.core.Identifier>
getByApprover(BaseClientStore store, String approver, ClientApprovalStore caStore)
protected static List<edu.uiuc.ncsa.security.core.Identifier>
getByField(BaseClientStore store, String fieldName, String field, ClientApprovalStore caStore)
Emulates a let outer join for generic stores.static List<edu.uiuc.ncsa.security.core.Identifier>
getByStatus(BaseClientStore store, String status, ClientApprovalStore caStore)
static UUCResponse
unusedClientCleanup(BaseClientStore store, UUCConfiguration uucConfiguration)
-
-
-
Method Detail
-
getByField
protected static List<edu.uiuc.ncsa.security.core.Identifier> getByField(BaseClientStore store, String fieldName, String field, ClientApprovalStore caStore)
Emulates a let outer join for generic stores.- Parameters:
store
-fieldName
-field
-caStore
-- Returns:
-
getByStatus
public static List<edu.uiuc.ncsa.security.core.Identifier> getByStatus(BaseClientStore store, String status, ClientApprovalStore caStore)
-
getByApprover
public static List<edu.uiuc.ncsa.security.core.Identifier> getByApprover(BaseClientStore store, String approver, ClientApprovalStore caStore)
-
unusedClientCleanup
public static UUCResponse unusedClientCleanup(BaseClientStore store, UUCConfiguration uucConfiguration)
-
acceptLADate
protected static boolean acceptLADate(UUCConfiguration uucConfiguration, Date lastAccessed)
If the date complies with the configuration. So a true means to process this entry.- Parameters:
uucConfiguration
-lastAccessed
-- Returns:
-
-