Package org.joinfaces.security
Class AuthorizeFaceletsTag
- java.lang.Object
-
- org.springframework.security.taglibs.authz.AbstractAuthorizeTag
-
- org.joinfaces.security.AbstractFaceletsAuthorizeTag
-
- org.joinfaces.security.AuthorizeFaceletsTag
-
public class AuthorizeFaceletsTag extends AbstractFaceletsAuthorizeTag
A concrete implementation ofAbstractAuthorizeTagfor 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 aTagHandler.
-
Method Summary
-
Methods inherited from class org.joinfaces.security.AbstractFaceletsAuthorizeTag
getRequest, getResponse, getServletContext
-
-
-
-
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 aTagHandler. Accepts all possible tag attributes asTagAttributeinstances. 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
-
AuthorizeFaceletsTag
public AuthorizeFaceletsTag()
A default constructor. Callers of this constructor are responsible for setting one or more of the tag attributes inAbstractAuthorizeTag.
-
-