Class FaceletsAuthorizeTagHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
org.springframework.faces.security.FaceletsAuthorizeTagHandler
- All Implemented Interfaces:
jakarta.faces.view.facelets.FaceletHandler
public class FaceletsAuthorizeTagHandler
extends jakarta.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
- Since:
- 2.2.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Field Summary
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(jakarta.faces.view.facelets.FaceletContext faceletContext, jakarta.faces.component.UIComponent parent) Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
FaceletsAuthorizeTagHandler
public FaceletsAuthorizeTagHandler(jakarta.faces.view.facelets.TagConfig config) - See Also:
-
TagHandler(TagConfig)
-
-
Method Details
-
apply
public void apply(jakarta.faces.view.facelets.FaceletContext faceletContext, jakarta.faces.component.UIComponent parent) throws IOException - Throws:
IOException
- See Also:
-
FaceletHandler.apply(FaceletContext, UIComponent)
-