META-INF.springsecurity.taglib.xml Maven / Gradle / Ivy
http://www.springframework.org/security/tags
A standard Facelets for performing Spring Security authorization decisions.
The tag supports the following combinations attributes for authorization:
access; url and method; ifAllGranted and ifAnyGranted and ifNotGranted.
The var attribute can be used to store the result of the authorization decision for later use in the view.
authorize
org.joinfaces.security.AuthorizeFaceletsTagHandler
A Spring-EL expression which is supported by the WebSecurityExpressionHandler
in the application context. The latter will be used to evaluate the expression.
access
false
true
A URL within the application. If the user has access to this URL (as determined by
the AccessDecisionManager), the tag body will be evaluated. If not, it will
be skipped.
url
false
true
Can be used to specify the HTTP method (typically GET or POST) which is used in combination
with the URL when consulting the AccessDecisionManager. Only has any meaning when used in combination
with the "url" attribute. Defaults to GET.
method
false
false
A page scoped variable into which the boolean result of the tag evaluation will be written, allowing the
same condition to be reused subsequently in the page without re-evaluation.
var
false
false
Check if authentication has any of authorities granted.
ifAnyGranted
false
java.lang.String
Check if authentication has all of authorities granted.
ifAllGranted
false
java.lang.String
Check if authentication has none of authorities granted.
ifNotGranted
false
java.lang.String
Verify if the user is anonymous.
anonymous
org.joinfaces.security.AnonymousFaceletsTagHandler
Verify if the user is not anonymous.
authenticated
org.joinfaces.security.AuthenticatedFaceletsTagHandler
Verify if the is not an anonymous or a remember-me user.
fullyAuthenticated
org.joinfaces.security.FullyAuthenticatedFaceletsTagHandler
areAllGranted
org.joinfaces.security.FaceletsTagUtils
boolean areAllGranted(java.lang.String)
areAnyGranted
org.joinfaces.security.FaceletsTagUtils
boolean areAnyGranted(java.lang.String)
areNotGranted
org.joinfaces.security.FaceletsTagUtils
boolean areNotGranted(java.lang.String)
isAllowed
org.joinfaces.security.FaceletsTagUtils
boolean isAllowed(java.lang.String, java.lang.String)
isAnonymous
org.joinfaces.security.FaceletsTagUtils
boolean isAnonymous()
isAuthenticated
org.joinfaces.security.FaceletsTagUtils
boolean isAuthenticated()
isFullyAuthenticated
org.joinfaces.security.FaceletsTagUtils
boolean isFullyAuthenticated()