Class AuthorizeFaceletsTagHandler

  • All Implemented Interfaces:
    FaceletHandler

    public class AuthorizeFaceletsTagHandler
    extends 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.
    • Constructor Detail

      • AuthorizeFaceletsTagHandler

        public AuthorizeFaceletsTagHandler​(TagConfig config)
    • Method Detail

      • apply

        public void apply​(FaceletContext faceletContext,
                          UIComponent parent)
                   throws java.io.IOException
        Throws:
        java.io.IOException