public class JAASRoles extends HttpCondition
Condition that checks the subject's 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 requiring the given roles in order for evaluation to return true. |
evaluatepublic static JAASRoles required(String... roles)
JAASRoles condition requiring the given roles in order for evaluation to return true.public boolean evaluateHttp(HttpServletRewrite event, EvaluationContext context)
evaluateHttp in class HttpConditionCopyright © 2013 OCPsoft. All Rights Reserved.