Class AuthorizeFaceletsTag


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

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

      • 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 Detail

      • AuthorizeFaceletsTag

        public AuthorizeFaceletsTag​(javax.faces.view.facelets.FaceletContext faceletContext,
                                    javax.faces.view.facelets.TagAttribute access,
                                    javax.faces.view.facelets.TagAttribute url,
                                    javax.faces.view.facelets.TagAttribute method,
                                    javax.faces.view.facelets.TagAttribute ifAllGranted,
                                    javax.faces.view.facelets.TagAttribute ifAnyGranted,
                                    javax.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
      • AuthorizeFaceletsTag

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