Renders the body of the tag if the user has one of the global roles indicated by the comma-separated list of role paths specified by the roles attribute. A role test can be negated by prepending the role name with an exclamation point (!). If a barrier attribute is specified, and its value is true, this will redirect the user to a login or access denied page rather than filtering the tag body content.

Body: JSP content

Attributes

Attribute

Description

Required?

roles

String. A comma-separated list of roles to test for.

true

barrier

boolean. If true, redirects user to login or access denied page.

false

 
loading table of contents...