Class PermissionStoreUtil
- java.lang.Object
-
- org.oa4mp.server.api.permissions.admin.PermissionStoreUtil
-
public class PermissionStoreUtil extends Object
Generic utilities for a permission store.Created by Jeff Gaynor
on 5/21/22 at 6:56 AM
-
-
Constructor Summary
Constructors Constructor Description PermissionStoreUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Permission
getErsatzChain(PermissionsStore permissionsStore, edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier clientID, edu.uiuc.ncsa.security.core.Identifier ersatzID)
static PermissionList
getErsatzChains(PermissionsStore<? extends Permission> pStore, edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier clientID)
used inPermissionFileStore
andPermissionMemoryStore
since they must iterate.static PermissionList
getProvisioners(PermissionsStore<? extends Permission> pStore, edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier ersatzID)
-
-
-
Method Detail
-
getErsatzChain
public static Permission getErsatzChain(PermissionsStore permissionsStore, edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier clientID, edu.uiuc.ncsa.security.core.Identifier ersatzID)
-
getErsatzChains
public static PermissionList getErsatzChains(PermissionsStore<? extends Permission> pStore, edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier clientID)
used inPermissionFileStore
andPermissionMemoryStore
since they must iterate.- Parameters:
adminID
-clientID
-- Returns:
-
getProvisioners
public static PermissionList getProvisioners(PermissionsStore<? extends Permission> pStore, edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier ersatzID)
-
-