This is version 4. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

<auth-constraint>

This elements lists all roles which can gain access to a resource protected in a <security-constraint>.

For a user to gain access, they must belong to at least one of the listed roles.

Roles are listed using the <role-name> subelement.

Requirements

  • Each role used in an <auth-constraint> must also be listed in a <security-role> section, which lists all the roles used in the application.
  • Each role must also exist in the Security Realm itself (for example, a JDBC Authentication Realm).

See Also

navigation
metawerx specific
search
Share
tools
help

referring pages

Share