Specifies the default principal (user) for the resource.
If this element is used in conjunction with a JMS Connection Factory resource, the name and password subelements must be valid entries in the GlassFish Message Queue broker user repository. See the Security Management chapter in the Oracle GlassFish Message Queue 4.4.2 Administration Guide for details.
resource-ref (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml); cmp-resource, mdb-connection-factory (sun-ejb-jar.xml)
The following table describes subelements for the default-resource-principal element.
Table C–50 default-resource-principal Subelements
Element |
Required |
Description |
---|---|---|
only one |
Specifies the default resource principal name used to sign on to a resource manager. |
|
only one |
Specifies password of the default resource principal. |