org.springframework.faces.security
Class FaceletsAuthorizeTagHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
org.springframework.faces.security.FaceletsAuthorizeTagHandler
- All Implemented Interfaces:
- javax.faces.view.facelets.FaceletHandler
public class FaceletsAuthorizeTagHandler
- extends javax.faces.view.facelets.TagHandler
A standard 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:
FaceletsAuthorizeTag
Fields inherited from class javax.faces.view.facelets.TagHandler |
nextHandler, tag, tagId |
Method Summary |
void |
apply(javax.faces.view.facelets.FaceletContext faceletContext,
javax.faces.component.UIComponent parent)
|
Methods inherited from class javax.faces.view.facelets.TagHandler |
getAttribute, getRequiredAttribute, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FaceletsAuthorizeTagHandler
public FaceletsAuthorizeTagHandler(javax.faces.view.facelets.TagConfig config)
- See Also:
TagHandler.TagHandler(TagConfig)
apply
public void apply(javax.faces.view.facelets.FaceletContext faceletContext,
javax.faces.component.UIComponent parent)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
FaceletHandler.apply(FaceletContext, UIComponent)