|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.faces.security.AbstractAuthorizeTag org.springframework.faces.security.FaceletsAuthorizeTag
public class FaceletsAuthorizeTag
A concrete implementation of AbstractAuthorizeTag
for use with standard Facelets rendering technology.
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 |
---|
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
.
Method Detail |
---|
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
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |