public class JspAuthorizeTag extends AbstractAuthorizeTag implements javax.servlet.jsp.tagext.Tag
Tag
implementation of AbstractAuthorizeTag
.AbstractAuthorizeTag
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected javax.servlet.jsp.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. |
String |
getId() |
javax.servlet.jsp.tagext.Tag |
getParent() |
protected javax.servlet.ServletRequest |
getRequest()
This method allows subclasses to provide a way to access the ServletRequest according to the rendering
technology.
|
protected javax.servlet.ServletResponse |
getResponse()
This method allows subclasses to provide a way to access the ServletResponse according to the rendering
technology.
|
protected javax.servlet.ServletContext |
getServletContext()
This method allows subclasses to provide a way to access the ServletContext according to the rendering
technology.
|
String |
getVar() |
void |
release() |
void |
setId(String id) |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext) |
void |
setParent(javax.servlet.jsp.tagext.Tag parent) |
void |
setVar(String var) |
authorize, authorizeUsingAccessExpression, authorizeUsingGrantedAuthorities, authorizeUsingUrlCheck, getAccess, getIfAllGranted, getIfAnyGranted, getIfNotGranted, getMethod, getUrl, setAccess, setIfAllGranted, setIfAnyGranted, setIfNotGranted, setMethod, setUrl
protected javax.servlet.jsp.PageContext pageContext
protected String id
public int doStartTag() throws javax.servlet.jsp.JspException
AbstractAuthorizeTag.authorize()
method to
decide if the body of the tag should be skipped or not.doStartTag
in interface javax.servlet.jsp.tagext.Tag
Tag.SKIP_BODY
or Tag.EVAL_BODY_INCLUDE
javax.servlet.jsp.JspException
protected EvaluationContext createExpressionEvaluationContext(SecurityExpressionHandler<FilterInvocation> handler)
AbstractAuthorizeTag
EvaluationContext
to be customized for variable lookup etc.createExpressionEvaluationContext
in class AbstractAuthorizeTag
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
javax.servlet.jsp.JspException
Tag.doEndTag()
public String getId()
public void setId(String id)
public javax.servlet.jsp.tagext.Tag getParent()
getParent
in interface javax.servlet.jsp.tagext.Tag
public void setParent(javax.servlet.jsp.tagext.Tag parent)
setParent
in interface javax.servlet.jsp.tagext.Tag
public String getVar()
public void setVar(String var)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
protected javax.servlet.ServletRequest getRequest()
AbstractAuthorizeTag
getRequest
in class AbstractAuthorizeTag
protected javax.servlet.ServletResponse getResponse()
AbstractAuthorizeTag
getResponse
in class AbstractAuthorizeTag
protected javax.servlet.ServletContext getServletContext()
AbstractAuthorizeTag
getServletContext
in class AbstractAuthorizeTag