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(org.springframework.security.access.expression.SecurityExpressionHandler<org.springframework.security.web.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, setUrlprotected 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.TagTag.SKIP_BODY or Tag.EVAL_BODY_INCLUDEjavax.servlet.jsp.JspExceptionprotected EvaluationContext createExpressionEvaluationContext(org.springframework.security.access.expression.SecurityExpressionHandler<org.springframework.security.web.FilterInvocation> handler)
AbstractAuthorizeTagEvaluationContext to be customized for variable lookup etc.createExpressionEvaluationContext in class AbstractAuthorizeTagpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspExceptionTag.doEndTag()public String getId()
public void setId(String id)
public javax.servlet.jsp.tagext.Tag getParent()
getParent in interface javax.servlet.jsp.tagext.Tagpublic void setParent(javax.servlet.jsp.tagext.Tag parent)
setParent in interface javax.servlet.jsp.tagext.Tagpublic String getVar()
public void setVar(String var)
public void release()
release in interface javax.servlet.jsp.tagext.Tagpublic void setPageContext(javax.servlet.jsp.PageContext pageContext)
setPageContext in interface javax.servlet.jsp.tagext.Tagprotected javax.servlet.ServletRequest getRequest()
AbstractAuthorizeTaggetRequest in class AbstractAuthorizeTagprotected javax.servlet.ServletResponse getResponse()
AbstractAuthorizeTaggetResponse in class AbstractAuthorizeTagprotected javax.servlet.ServletContext getServletContext()
AbstractAuthorizeTaggetServletContext in class AbstractAuthorizeTag