public class IsAdminRule extends Object implements AuthorizationRule
| Constructor and Description |
|---|
IsAdminRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
boolean |
isAllowed(String key,
Map<String,Serializable> context)
Execute this rule and, according to the context, says whether the rule is valid.
|
public boolean isAllowed(String key, Map<String,Serializable> context)
AuthorizationRuleisAllowed in interface AuthorizationRulekey - the page mapping keycontext - the information necessary to execute this rule.public String getId()
getId in interface AuthorizationRuleCopyright © 2019 Bonitasoft S.A.. All rights reserved.