javaee:security-roleType

The security-roleType contains the definition of a security
	  role. The definition consists of an optional description of
	  the security role, and the security role name.

	  Example:

	      <security-role>
	      <description>
		  This role includes all employees who are authorized
		  to access the employee service application.
	      </description>
	      <role-name>employee</role-name>
	      </security-role>

Complex Type Information

Model

Attributes

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

Source

<xsd:complexType name="security-roleType">
  <xsd:annotation>
    <xsd:documentation>
      <![CDATA[

	  The security-roleType contains the definition of a security
	  role. The definition consists of an optional description of
	  the security role, and the security role name.

	  Example:

	      <security-role>
	      <description>
		  This role includes all employees who are authorized
		  to access the employee service application.
	      </description>
	      <role-name>employee</role-name>
	      </security-role>

	  ]]>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="description" type="javaee:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="role-name" type="javaee:role-nameType"/>
  </xsd:sequence>
  <xsd:attribute name="id" type="xsd:ID"/>
</xsd:complexType>