public class Jsf12FaceletsAuthorizeTag extends AbstractAuthorizeTag
AbstractAuthorizeTag
for use with Facelets rendering technology in JSF 1.2
environments.FaceletsAuthorizeTag
Constructor and Description |
---|
Jsf12FaceletsAuthorizeTag()
A default constructor.
|
Jsf12FaceletsAuthorizeTag(com.sun.facelets.FaceletContext faceletContext,
com.sun.facelets.tag.TagAttribute access,
com.sun.facelets.tag.TagAttribute url,
com.sun.facelets.tag.TagAttribute method,
com.sun.facelets.tag.TagAttribute ifAllGranted,
com.sun.facelets.tag.TagAttribute ifAnyGranted,
com.sun.facelets.tag.TagAttribute ifNotGranted)
A class constructor for use in a
TagHandler . |
Modifier and Type | Method and Description |
---|---|
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.
|
authorize, authorizeUsingAccessExpression, authorizeUsingGrantedAuthorities, authorizeUsingUrlCheck, getAccess, getIfAllGranted, getIfAnyGranted, getIfNotGranted, getMethod, getUrl, setAccess, setIfAllGranted, setIfAnyGranted, setIfNotGranted, setMethod, setUrl
public Jsf12FaceletsAuthorizeTag(com.sun.facelets.FaceletContext faceletContext, com.sun.facelets.tag.TagAttribute access, com.sun.facelets.tag.TagAttribute url, com.sun.facelets.tag.TagAttribute method, com.sun.facelets.tag.TagAttribute ifAllGranted, com.sun.facelets.tag.TagAttribute ifAnyGranted, com.sun.facelets.tag.TagAttribute ifNotGranted)
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.faceletContext
- the current FaceletContextaccess
- the access attribute or nullurl
- the url attribute or nullmethod
- the method attribute or nullifAllGranted
- the ifAllGranted attribute or nullifAnyGranted
- the ifAnyGranted attribute or nullifNotGranted
- the ifNotGranted attribute or nullpublic Jsf12FaceletsAuthorizeTag()
AbstractAuthorizeTag
.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