public class

JspAuthorizeTag

extends AbstractAuthorizeTag
java.lang.Object
   ↳ org.springframework.security.taglibs.authz.AbstractAuthorizeTag
     ↳ org.springframework.security.taglibs.authz.JspAuthorizeTag

Class Overview

A JSP Tag implementation of AbstractAuthorizeTag.

Summary

Fields
protected String id
protected PageContext pageContext
Public Constructors
JspAuthorizeTag()
Public Methods
int doEndTag()
Default processing of the end tag returning EVAL_PAGE.
int doStartTag()
Invokes the base class authorize() method to decide if the body of the tag should be skipped or not.
String getId()
Tag getParent()
String getVar()
void release()
void setId(String id)
void setPageContext(PageContext pageContext)
void setParent(Tag parent)
void setVar(String var)
Protected Methods
EvaluationContext createExpressionEvaluationContext(SecurityExpressionHandler<FilterInvocation> handler)
Allows the EvaluationContext to be customized for variable lookup etc.
ServletRequest getRequest()
This method allows subclasses to provide a way to access the ServletRequest according to the rendering technology.
ServletResponse getResponse()
This method allows subclasses to provide a way to access the ServletResponse according to the rendering technology.
ServletContext getServletContext()
This method allows subclasses to provide a way to access the ServletContext according to the rendering technology.
[Expand]
Inherited Methods
From class org.springframework.security.taglibs.authz.AbstractAuthorizeTag
From class java.lang.Object

Fields

protected String id

protected PageContext pageContext

Public Constructors

public JspAuthorizeTag ()

Public Methods

public int doEndTag ()

Default processing of the end tag returning EVAL_PAGE.

Returns
  • EVAL_PAGE
Throws
JspException
See Also
  • Tag#doEndTag()

public int doStartTag ()

Invokes the base class authorize() method to decide if the body of the tag should be skipped or not.

Returns
  • Tag#SKIP_BODY or Tag#EVAL_BODY_INCLUDE
Throws
JspException

public String getId ()

public Tag getParent ()

public String getVar ()

public void release ()

public void setId (String id)

public void setPageContext (PageContext pageContext)

public void setParent (Tag parent)

public void setVar (String var)

Protected Methods

protected EvaluationContext createExpressionEvaluationContext (SecurityExpressionHandler<FilterInvocation> handler)

Allows the EvaluationContext to be customized for variable lookup etc.

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.