public class RuleBasedAuthorizationPlugin extends RuleBasedAuthorizationPluginBase
Constructor and Description |
---|
RuleBasedAuthorizationPlugin() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getUserRoles(Principal principal)
Look up user's role from the explicit user-role mapping
|
void |
init(Map<String,Object> initInfo) |
authorize, close, doesUserHavePermission, edit, getSpec
public void init(Map<String,Object> initInfo)
init
in interface AuthorizationPlugin
init
in class RuleBasedAuthorizationPluginBase
public Set<String> getUserRoles(Principal principal)
getUserRoles
in class RuleBasedAuthorizationPluginBase
principal
- the user Principal from the requestCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.