public class JspAuthorizeTag extends AbstractAuthorizeTag
Tag
implementation of AbstractAuthorizeTag
.AbstractAuthorizeTag
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
protected PageContext |
pageContext |
Constructor and Description |
---|
JspAuthorizeTag() |
Modifier and Type | Method and Description |
---|---|
protected EvaluationContext |
createExpressionEvaluationContext(SecurityExpressionHandler<FilterInvocation> handler)
Allows the
EvaluationContext to be customized for variable lookup etc. |
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE.
|
int |
doStartTag()
Invokes the base class
AbstractAuthorizeTag.authorize() method to decide if
the body of the tag should be skipped or not. |
java.lang.String |
getId() |
Tag |
getParent() |
protected ServletRequest |
getRequest()
This method allows subclasses to provide a way to access the ServletRequest
according to the rendering technology.
|
protected ServletResponse |
getResponse()
This method allows subclasses to provide a way to access the ServletResponse
according to the rendering technology.
|
protected ServletContext |
getServletContext()
This method allows subclasses to provide a way to access the ServletContext
according to the rendering technology.
|
java.lang.String |
getVar() |
void |
release() |
void |
setId(java.lang.String id) |
void |
setPageContext(PageContext pageContext) |
void |
setParent(Tag parent) |
void |
setVar(java.lang.String var) |
authorize, authorizeUsingAccessExpression, authorizeUsingUrlCheck, getAccess, getMethod, getUrl, setAccess, setMethod, setUrl
public int doStartTag() throws JspException
AbstractAuthorizeTag.authorize()
method to decide if
the body of the tag should be skipped or not.Tag#SKIP_BODY
or Tag#EVAL_BODY_INCLUDE
JspException
protected EvaluationContext createExpressionEvaluationContext(SecurityExpressionHandler<FilterInvocation> handler)
AbstractAuthorizeTag
EvaluationContext
to be customized for variable lookup etc.createExpressionEvaluationContext
in class AbstractAuthorizeTag
public int doEndTag() throws JspException
JspException
Tag#doEndTag()
public java.lang.String getId()
public void setId(java.lang.String id)
public Tag getParent()
public void setParent(Tag parent)
public java.lang.String getVar()
public void setVar(java.lang.String var)
public void release()
public void setPageContext(PageContext pageContext)
protected ServletRequest getRequest()
AbstractAuthorizeTag
getRequest
in class AbstractAuthorizeTag
protected ServletResponse getResponse()
AbstractAuthorizeTag
getResponse
in class AbstractAuthorizeTag
protected ServletContext getServletContext()
AbstractAuthorizeTag
getServletContext
in class AbstractAuthorizeTag