public abstract class PermissionTag extends SecureTag
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
PermissionTag() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
protected boolean |
isPermitted(String p) |
int |
onDoStartTag() |
void |
setName(String name) |
protected abstract boolean |
showTagBody(String p) |
protected void |
verifyAttributes() |
doStartTag, getSubject
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public PermissionTag()
protected void verifyAttributes() throws JspException
verifyAttributes
in class SecureTag
JspException
public int onDoStartTag() throws JspException
onDoStartTag
in class SecureTag
JspException
protected boolean isPermitted(String p)
protected abstract boolean showTagBody(String p)
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.