public class HasAuthorization extends ConditionalTag
action, application, loc, req, res, session| Constructor and Description |
|---|
HasAuthorization() |
| Modifier and Type | Method and Description |
|---|---|
void |
setBoth(boolean both) |
void |
setGroup(String group) |
void |
setGroups(String groups) |
void |
setPermission(String permission) |
void |
setPermissions(String permissions) |
boolean |
testCondition()
Verify if the parameters of the groups or permissions exist or are not denied for the user
|
doAfterBody, doStartTag, getSessionObj, getValue, getValue, setNegatedoEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValues, removeValue, setId, setPageContext, setParent, setValuepublic void setGroup(String group)
public void setGroups(String groups)
public void setPermission(String permission)
public void setBoth(boolean both)
public void setPermissions(String permissions)
public boolean testCondition()
throws javax.servlet.jsp.JspException
testCondition in class ConditionalTagjavax.servlet.jsp.JspExceptionCopyright © 2015. All Rights Reserved.