public class JAASRoles extends HttpCondition
Condition that checks the current session roles using HttpServletRequest.isUserInRole(String)| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateHttp(HttpServletRewrite event,
EvaluationContext context) |
static JAASRoles |
required(String... roles)
Create a new
JAASRoles condition specifying the roles of which the current user must be a member for
evaluation to return true. |
String |
toString() |
evaluateand, andNot, or, orNotpublic static JAASRoles required(String... roles)
JAASRoles condition specifying the roles of which the current user must be a member for
evaluation to return true.public boolean evaluateHttp(HttpServletRewrite event, EvaluationContext context)
evaluateHttp in class HttpConditionCopyright © 2019 OCPsoft. All rights reserved.