i have a
jsp that does something like :
<% if (request.isUserInRole("emp") ) { %>
Emp Role Specific content here.
<% } %>
I need to map the emp role to a few actual roles. if the code was behind a
servlet, i would map it with:
<servlet>
...
<security-role-ref>
<role-name>CodeMonkey-emp</role-name>
<role-link>emp</role-link>
</security-role-ref>
<security-role-ref>
<role-name>CodeMonkey-emp</role-name>
<role-link>emp</role-link>
</security-role-ref>
How can I do this same mapping with a .jsp?
thanks.