Package org.joinfaces.security.taglib
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 ofAbstractAuthorizeTag
for use with standard Facelets rendering technology.- See Also:
FaceletsAuthorizeTag
-
-
Constructor Summary
Constructors Constructor Description FaceletsAuthorizeTag()
A default constructor.FaceletsAuthorizeTag(FaceletContext faceletContext, TagAttribute access, TagAttribute url, TagAttribute method, TagAttribute ifAllGranted, TagAttribute ifAnyGranted, TagAttribute ifNotGranted)
A class constructor for use in aTagHandler
.
-
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
-
-
-
-
Constructor Detail
-
FaceletsAuthorizeTag
public FaceletsAuthorizeTag(FaceletContext faceletContext, TagAttribute access, TagAttribute url, TagAttribute method, TagAttribute ifAllGranted, TagAttribute ifAnyGranted, TagAttribute ifNotGranted)
A class constructor for use in aTagHandler
. Accepts all possible tag attributes asTagAttribute
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 FaceletContextaccess
- the access attribute or nullurl
- the url attribute or nullmethod
- the method attribute or nullifAllGranted
- the ifAllGranted attribute or nullifAnyGranted
- the ifAnyGranted attribute or nullifNotGranted
- 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 inAbstractAuthorizeTag
.
-
-