Package org.bonitasoft.engine.page
Class IsAdminRule
java.lang.Object
org.bonitasoft.engine.page.IsAdminRule
- All Implemented Interfaces:
AuthorizationRule
- Author:
- Emmanuel Duchastenier, Anthony Birembaut
-
Field Details
-
PROCESS_DEPLOY_PERMISSION
- See Also:
-
-
Constructor Details
-
IsAdminRule
-
-
Method Details
-
isAllowed
Description copied from interface:AuthorizationRuleExecute this rule and, according to the context, says whether the rule is valid.- Specified by:
isAllowedin interfaceAuthorizationRule- Parameters:
key- the page mapping keycontext- the information necessary to execute this rule.- Returns:
- true if allowed, false otherwise.If determination cannot be fulfilled, an Exception should be thrown.
- Throws:
SExecutionException- exception thrown if authorization cannot be determined.
-
getSession
-
getId
- Specified by:
getIdin interfaceAuthorizationRule- Returns:
- the identifier for this authorization rule
-