public class FaceletsAuthorizeTag extends AbstractAuthorizeTag
AbstractAuthorizeTag for use with standard Facelets rendering technology (JSF 2
or higher).| 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()
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, setUrlpublic 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()
AbstractAuthorizeTaggetRequest in class AbstractAuthorizeTagprotected javax.servlet.ServletResponse getResponse()
AbstractAuthorizeTaggetResponse in class AbstractAuthorizeTagprotected javax.servlet.ServletContext getServletContext()
AbstractAuthorizeTaggetServletContext in class AbstractAuthorizeTag