Q 41 Given the following declaration
<security-role-ref>
<role-link>linkedRole</role-link>
<role-name>roleName</role-name>
</security-role-ref>
Which method call is correct?
1) isUserInRole(linkedRole)
2) isUserInRole(roleName)
Cobian says answer is 2.
From Sun's Tutorial
Sun J2EE TUTORIAL Security
In this example, isUserInRole("bankCustomer") and isUserInRole("cust") will both return true for the methods indicated in the Method Permissions pane. I am thinking answer is 1 and 2. Any one have a different opinion?