Name

<security-role-ref >

Synopsis

<!ELEMENT security-role-ref (description?, role-name, role-link)>

Description

The <security-role-ref> element specifies an alias for a security role, mapping between the name used by a servlet and the name used in the deployment descriptor.

<security-role-ref>
    <role-name>mgr</role-name>
    <role-link>manager</role-link>
</security-role-ref>

Get Java Servlet Programming, 2nd 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.