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, getSpecpublic ExternalRoleRuleBasedAuthorizationPlugin()
public void init(Map<String,Object> initInfo)
init in interface AuthorizationPlugininit in class RuleBasedAuthorizationPluginBasepublic Set<String> getUserRoles(Principal principal)
getUserRoles in class RuleBasedAuthorizationPluginBaseprincipal - the user Principal which should contain rolesCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.