public class ExternalRoleRuleBasedAuthorizationPlugin extends RuleBasedAuthorizationPluginBase
Constructor and Description |
---|
ExternalRoleRuleBasedAuthorizationPlugin() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getUserRoles(Principal principal)
Pulls roles from the Principal
|
void |
init(Map<String,Object> initInfo) |
authorize, close, doesUserHavePermission, edit, getSpec
public ExternalRoleRuleBasedAuthorizationPlugin()
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 which should contain rolesCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.