Package org.rostore.service.apikey
Class ApiKeyManager
java.lang.Object
org.rostore.service.apikey.ApiKeyManager
Singleton used in the RoStore service to control access to the APIKeys.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkContainerPermission
(String containerName, Set<Permission> requestPermissions) void
checkStorePermission
(Set<Permission> requestPermissions) create
(ApiKeyPermissions apiKeyPermissions, Record record) void
init
(RoStoreState state) boolean
void
void
update
(ApiKeyDefinition apiKeyDefinition, Record record)
-
Field Details
-
APIKEY_CONTAINER_NAME
- See Also:
-
-
Constructor Details
-
ApiKeyManager
public ApiKeyManager()
-
-
Method Details
-
init
-
checkContainerPermission
-
checkStorePermission
-
isRootApiKey
public boolean isRootApiKey() -
repairRootApiKeyEntry
-
create
-
update
-
remove
-
get
-
list
-
getAndCheckKey
-