javaee:role-name

The value of the role-name element must be the String used
as the parameter to the
EJBContext.isCallerInRole(String roleName) method or the
HttpServletRequest.isUserInRole(String role) method.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xsd:ID optional

Source

<xsd:element name="role-name" type="javaee:role-nameType">
  <xsd:annotation>
    <xsd:documentation>The value of the role-name element must be the String used as the parameter to the EJBContext.isCallerInRole(String roleName) method or the HttpServletRequest.isUserInRole(String role) method.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

Sample