Class 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.
    See Also:
    FaceletsAuthorizeTagHandler
    • Field Summary

      • Fields inherited from class javax.faces.view.facelets.TagHandler

        nextHandler, tag, tagId
    • Constructor Detail

      • FaceletsAuthorizeTagHandler

        public FaceletsAuthorizeTagHandler​(javax.faces.view.facelets.TagConfig config)
    • Method Detail

      • apply

        public void apply​(javax.faces.view.facelets.FaceletContext faceletContext,
                          javax.faces.component.UIComponent parent)
                   throws IOException
        Throws:
        IOException