Class JAASRoles
java.lang.Object
org.ocpsoft.rewrite.config.DefaultConditionBuilder
org.ocpsoft.rewrite.servlet.config.HttpCondition
org.ocpsoft.rewrite.servlet.config.JAASRoles
- All Implemented Interfaces:
Condition,ConditionBuilder
A
Condition that checks the current session roles using HttpServletRequest.isUserInRole(String)- Author:
- Christian Kaltepoth, Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluateHttp(HttpServletRewrite event, EvaluationContext context) static JAASRolesCreate a newJAASRolescondition specifying the roles of which the current user must be a member for evaluation to returntrue.toString()Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpCondition
evaluateMethods inherited from class org.ocpsoft.rewrite.config.DefaultConditionBuilder
and, andNot, or, orNot
-
Method Details
-
required
Create a newJAASRolescondition specifying the roles of which the current user must be a member for evaluation to returntrue. -
evaluateHttp
- Specified by:
evaluateHttpin classHttpCondition
-
toString
-