public interface AuthorizationRule
| 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.
|
boolean isAllowed(String key, Map<String,Serializable> context) throws org.bonitasoft.engine.commons.exceptions.SExecutionException
key - the page mapping keycontext - the information necessary to execute this rule.org.bonitasoft.engine.commons.exceptions.SExecutionException - exception thrown if authorization cannot be determined.String getId()
Copyright © 2019 Bonitasoft S.A.. All rights reserved.