org.springframework.faces.security
Class Jsf12FaceletsAuthorizeTagHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
org.springframework.faces.security.Jsf12FaceletsAuthorizeTagHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler
public class Jsf12FaceletsAuthorizeTagHandler
- extends com.sun.facelets.tag.TagHandler
A JSF 1.2 Facelets TagHandler for performing Spring Security authorization decisions. The tag supports the
following combinations attributes for authorization:
- access
- url, method
- ifAllGranted, ifAnyGranted, ifNotGranted
The var attribute can be used to store the result of the authorization decision for later use in the view.
- Since:
- 2.2.0
- Author:
- Rossen Stoyanchev
- See Also:
Jsf12FaceletsAuthorizeTag
| Fields inherited from class com.sun.facelets.tag.TagHandler |
nextHandler, tag, tagId |
|
Method Summary |
void |
apply(com.sun.facelets.FaceletContext faceletContext,
javax.faces.component.UIComponent parent)
|
| Methods inherited from class com.sun.facelets.tag.TagHandler |
findNextByType, getAttribute, getRequiredAttribute, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Jsf12FaceletsAuthorizeTagHandler
public Jsf12FaceletsAuthorizeTagHandler(com.sun.facelets.tag.TagConfig config)
- See Also:
TagHandler.TagHandler(TagConfig)
apply
public void apply(com.sun.facelets.FaceletContext faceletContext,
javax.faces.component.UIComponent parent)
throws java.io.IOException
- Throws:
java.io.IOException- See Also:
FaceletHandler.apply(FaceletContext, UIComponent)