public class FaceletsAuthorizeTag
extends org.springframework.security.taglibs.authz.AbstractAuthorizeTag
AbstractAuthorizeTag
for use with standard Facelets rendering technology.Constructor and Description |
---|
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 . |
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.ServletRequest |
getRequest() |
protected javax.servlet.ServletResponse |
getResponse() |
protected javax.servlet.ServletContext |
getServletContext() |
authorize, authorizeUsingAccessExpression, authorizeUsingGrantedAuthorities, authorizeUsingUrlCheck, createExpressionEvaluationContext, getAccess, getIfAllGranted, getIfAnyGranted, getIfNotGranted, getMethod, getUrl, setAccess, setIfAllGranted, setIfAnyGranted, setIfNotGranted, setMethod, setUrl
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)
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 FaceletsAuthorizeTag()
AbstractAuthorizeTag
.protected javax.servlet.ServletRequest getRequest()
getRequest
in class org.springframework.security.taglibs.authz.AbstractAuthorizeTag
protected javax.servlet.ServletResponse getResponse()
getResponse
in class org.springframework.security.taglibs.authz.AbstractAuthorizeTag
protected javax.servlet.ServletContext getServletContext()
getServletContext
in class org.springframework.security.taglibs.authz.AbstractAuthorizeTag