Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: default-helper
- Next: description

## 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 3 2005Q4 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–40 `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.

- Previous: default-helper
- Next: description

- © 2010, Oracle Corporation and/or its affiliates