|
spring-security-taglibs | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.taglibs.authz.AbstractAuthorizeTag
org.springframework.security.taglibs.authz.JspAuthorizeTag
public class JspAuthorizeTag
A JSP Tag implementation of AbstractAuthorizeTag.
AbstractAuthorizeTag| Field Summary | |
|---|---|
protected String |
id
|
protected javax.servlet.jsp.PageContext |
pageContext
|
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
JspAuthorizeTag()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.springframework.security.taglibs.authz.AbstractAuthorizeTag |
|---|
authorize, authorizeUsingAccessExpression, authorizeUsingGrantedAuthorities, authorizeUsingUrlCheck, getAccess, getIfAllGranted, getIfAnyGranted, getIfNotGranted, getMethod, getUrl, setAccess, setIfAllGranted, setIfAnyGranted, setIfNotGranted, setMethod, setUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.servlet.jsp.PageContext pageContext
protected String id
| Constructor Detail |
|---|
public JspAuthorizeTag()
| Method Detail |
|---|
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_INCLUDE
javax.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 AbstractAuthorizeTag
public 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()
AbstractAuthorizeTag
getRequest in class AbstractAuthorizeTagprotected javax.servlet.ServletResponse getResponse()
AbstractAuthorizeTag
getResponse in class AbstractAuthorizeTagprotected javax.servlet.ServletContext getServletContext()
AbstractAuthorizeTag
getServletContext in class AbstractAuthorizeTag
|
spring-security-taglibs | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||