Sun GlassFish Enterprise Server 2.1 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. See the Security Management chapter in the Sun Java System Message Queue 4.1 Administration Guide for details.

Superelements

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

Subelements

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

Table A–41 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.