Class FaceletsAuthorizeTag

java.lang.Object
org.springframework.security.taglibs.authz.AbstractAuthorizeTag
org.joinfaces.security.taglib.AbstractFaceletsAuthorizeTag
org.joinfaces.security.taglib.FaceletsAuthorizeTag

public class FaceletsAuthorizeTag extends AbstractFaceletsAuthorizeTag
A concrete implementation of AbstractAuthorizeTag for use with standard Facelets rendering technology.
See Also:
  • FaceletsAuthorizeTag
  • Constructor Summary

    Constructors
    Constructor
    Description
    A default constructor.
    FaceletsAuthorizeTag(jakarta.faces.view.facelets.FaceletContext faceletContext, jakarta.faces.view.facelets.TagAttribute access, jakarta.faces.view.facelets.TagAttribute url, jakarta.faces.view.facelets.TagAttribute method, jakarta.faces.view.facelets.TagAttribute ifAllGranted, jakarta.faces.view.facelets.TagAttribute ifAnyGranted, jakarta.faces.view.facelets.TagAttribute ifNotGranted)
    A class constructor for use in a TagHandler.
  • Method Summary

    Methods inherited from class org.joinfaces.security.taglib.AbstractFaceletsAuthorizeTag

    getRequest, getResponse, getServletContext

    Methods inherited from class org.springframework.security.taglibs.authz.AbstractAuthorizeTag

    authorize, authorizeUsingAccessExpression, authorizeUsingUrlCheck, createExpressionEvaluationContext, getAccess, getMethod, getUrl, setAccess, setMethod, setUrl

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FaceletsAuthorizeTag

      public FaceletsAuthorizeTag(jakarta.faces.view.facelets.FaceletContext faceletContext, jakarta.faces.view.facelets.TagAttribute access, jakarta.faces.view.facelets.TagAttribute url, jakarta.faces.view.facelets.TagAttribute method, jakarta.faces.view.facelets.TagAttribute ifAllGranted, jakarta.faces.view.facelets.TagAttribute ifAnyGranted, jakarta.faces.view.facelets.TagAttribute ifNotGranted)
      A class constructor for use in a TagHandler. Accepts all possible tag attributes as TagAttribute instances. The constructor extracts the attribute values by evaluating them as Unified EL expressions. This excludes the access attribute, which is expected to be a Spring EL expression.
      Parameters:
      faceletContext - the current FaceletContext
      access - the access attribute or null
      url - the url attribute or null
      method - the method attribute or null
      ifAllGranted - the ifAllGranted attribute or null
      ifAnyGranted - the ifAnyGranted attribute or null
      ifNotGranted - the ifNotGranted attribute or null
    • FaceletsAuthorizeTag

      public FaceletsAuthorizeTag()
      A default constructor. Callers of this constructor are responsible for setting one or more of the tag attributes in AbstractAuthorizeTag.