public class IsUserInRole extends ConditionalTag
action, application, loc, req, res, session| Constructor and Description |
|---|
IsUserInRole() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRoles()
Gets roles of IsUserInRole.
|
boolean |
isNegate()
Checks if is negation of roles.
|
void |
setNegate(boolean negate)
Sets the negation state of roles.
|
void |
setRoles(String roles)
Sets roles of IsUserInRole.
|
boolean |
testCondition()
Default method testCondition of ConditionalTag.
|
doAfterBody, doStartTag, getSessionObj, getValue, getValuedoEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValues, removeValue, setId, setPageContext, setParent, setValuepublic boolean testCondition()
throws javax.servlet.jsp.JspException
testCondition in class ConditionalTagjavax.servlet.jsp.JspExceptionpublic String getRoles()
public void setRoles(String roles)
public boolean isNegate()
public void setNegate(boolean negate)
setNegate in class ConditionalTagnegate - booleanCopyright © 2015. All Rights Reserved.