Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <auth-constraint> |
Synopsis<!ELEMENT auth-constraint (description?, role-name*)> DescriptionThe <auth-constraint> element indicates the user roles that should be permitted access to a resource collection. The role names used here must appear in a <security-role-ref> element. <security-constraint> <web-resource-collection> ... </web-resource-collection> <auth-constraint> <role-name>manager</role-name> </auth-constraint> </security-constraint>
|