Spring Web Flow

org.springframework.faces.security
Class FaceletsAuthorizeTag

java.lang.Object
  extended by org.springframework.faces.security.AbstractAuthorizeTag
      extended by org.springframework.faces.security.FaceletsAuthorizeTag

public class FaceletsAuthorizeTag
extends AbstractAuthorizeTag

A concrete implementation of AbstractAuthorizeTag for use with standard Facelets rendering technology.

Since:
2.2.0
Author:
Rossen Stoyanchev

Constructor Summary
FaceletsAuthorizeTag()
          A default constructor.
FaceletsAuthorizeTag(javax.faces.view.facelets.FaceletContext faceletContext, javax.faces.view.facelets.TagAttribute access, javax.faces.view.facelets.TagAttribute url, javax.faces.view.facelets.TagAttribute method, javax.faces.view.facelets.TagAttribute ifAllGranted, javax.faces.view.facelets.TagAttribute ifAnyGranted, javax.faces.view.facelets.TagAttribute ifNotGranted)
          A class constructor for use in a TagHandler.
 
Method Summary
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.
 
Methods inherited from class org.springframework.faces.security.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
 

Constructor Detail

FaceletsAuthorizeTag

public FaceletsAuthorizeTag(javax.faces.view.facelets.FaceletContext faceletContext,
                            javax.faces.view.facelets.TagAttribute access,
                            javax.faces.view.facelets.TagAttribute url,
                            javax.faces.view.facelets.TagAttribute method,
                            javax.faces.view.facelets.TagAttribute ifAllGranted,
                            javax.faces.view.facelets.TagAttribute ifAnyGranted,
                            javax.faces.view.facelets.TagAttribute ifNotGranted)
A class constructor for use in a TagHandler. Accepts all possible tag attributes as TagAttribute instances. The constructor extracts the attribute values by evaluating them as Unified EL expressions. This excludes the access attribute, which is expected to be a Spring EL expression.

Parameters:
faceletContext - the current FaceletContext
access - the access attribute or null
url - the url attribute or null
method - the method attribute or null
ifAllGranted - the ifAllGranted attribute or null
ifAnyGranted - the ifAnyGranted attribute or null
ifNotGranted - the ifNotGranted attribute or null

FaceletsAuthorizeTag

public FaceletsAuthorizeTag()
A default constructor. Callers of this constructor are responsible for setting one or more of the tag attributes in AbstractAuthorizeTag.

Method Detail

getRequest

protected javax.servlet.ServletRequest getRequest()
Description copied from class: AbstractAuthorizeTag
This method allows subclasses to provide a way to access the ServletRequest according to the rendering technology.

Specified by:
getRequest in class AbstractAuthorizeTag

getResponse

protected javax.servlet.ServletResponse getResponse()
Description copied from class: AbstractAuthorizeTag
This method allows subclasses to provide a way to access the ServletResponse according to the rendering technology.

Specified by:
getResponse in class AbstractAuthorizeTag

getServletContext

protected javax.servlet.ServletContext getServletContext()
Description copied from class: AbstractAuthorizeTag
This method allows subclasses to provide a way to access the ServletContext according to the rendering technology.

Specified by:
getServletContext in class AbstractAuthorizeTag

Spring Web Flow