This topic has not yet been written. The content below is from the topic description.
Both Enterprise Java Beans (EJBs) and servlets can declare one or more elements. This element declares that a component is using the element's role-nameType attribute value as an argument to the isCallerInRole(String) method. By using the isCallerInRole method, a component can verify whether the caller is in a role that has been declared with a or element. The element value must link to a element through the element. The typical use of isCallerInRole is to perform a security check that cannot be defined by using the role-based elements.