Sun GlassFish Enterprise Server v3 Prelude Application Deployment Guide

default-resource-principal

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 Sun JavaTM System Message Queue broker user repository.

Superelements

resource-ref (sun-web.xml, sun-ejb-jar.xml); cmp-resource, mdb-connection-factory (sun-ejb-jar.xml)

Subelements

The following table describes subelements for the default-resource-principal element.

Table A–28 default-resource-principal Subelements

Element 

Required 

Description 

name

only one 

Specifies the default resource principal name used to sign on to a resource manager. 

password

only one 

Specifies password of the default resource principal.