Class AuthorizeFaceletsTagHandler

  • All Implemented Interfaces:

    public class AuthorizeFaceletsTagHandler
    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.
    • Field Summary

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

        nextHandler, tag, tagId
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • AuthorizeFaceletsTagHandler

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

      • apply

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