1.0
1.2
security
http://www.springframework.org/security/tags
Spring Security Authorization Tag Library $Id$
authorize
org.springframework.security.taglibs.authz.AuthorizeTag
A simple tag to output or not the body of the tag if the principal has or doesn't have certain authorities.
ifNotGranted
false
true
A comma separated list of roles which the user must not have for the body to be output.
ifAllGranted
false
true
A comma separated list of roles which the user must all possess for the body to be output.
ifAnyGranted
false
true
A comma separated list of roles, one of which the user must possess for the body to be output.
authentication
org.springframework.security.taglibs.authz.AuthenticationTag
Allows access to the current Authentication object.
property
true
true
Property of the Authentication object which should be output. Supports nested properties. For example if the principal object is an instance of UserDetails, the property "principal.username" will return the username. Alternatively, using "name" will call getName method on the Authentication object directly.
var
false
false
Name of the exported scoped variable which will contain the evaluated property of the Authentication object.
scope
false
false
Scope for var.
accesscontrollist
org.springframework.security.taglibs.authz.AccessControlListTag
Allows inclusion of a tag body if the current Authentication has one of the specified permissions to the presented domain object instance.
hasPermission
true
true
A comma separated list of integers, each representing a required bit mask permission from a subclass of org.springframework.security.acl.basic.AbstractBasicAclEntry.
domainObject
true
true
The actual domain object instance for which permissions are being evaluated.