Name

<security-role>

Synopsis

<security-role> elements define the role names the application uses in isUserInRole( ) calls, <security-role-ref> elements, and <auth-constraint> elements:

<security-role>
  <role-name>admin</role-name>
</security-role>

Each role must be mapped to a user and/or group in the container’s security domain in a container-dependent way.

Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.