public interface BasicAuthorizerCacheManager
Modifier and Type | Method and Description |
---|---|
Map<String,BasicAuthorizerRole> |
getRoleMap(String authorizerPrefix)
Return the cache manager's local view of the role map for the authorizer named `authorizerPrefix`.
|
Map<String,BasicAuthorizerUser> |
getUserMap(String authorizerPrefix)
Return the cache manager's local view of the user map for the authorizer named `authorizerPrefix`.
|
void |
handleAuthorizerUpdate(String authorizerPrefix,
byte[] serializedUserAndRoleMap)
Update this cache manager's local state with fresh information pushed by the coordinator.
|
void handleAuthorizerUpdate(String authorizerPrefix, byte[] serializedUserAndRoleMap)
authorizerPrefix
- The name of the authorizer this update applies to.serializedUserAndRoleMap
- The updated, serialized user and role mapsMap<String,BasicAuthorizerUser> getUserMap(String authorizerPrefix)
authorizerPrefix
- The name of the authorizerMap<String,BasicAuthorizerRole> getRoleMap(String authorizerPrefix)
authorizerPrefix
- The name of the authorizerCopyright © 2011–2018. All rights reserved.