Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: client-container
- Next: cmp

## client-credential

Default client credentials that are sent to the server. If this element is present, the credentials are automatically sent to the server, without prompting the user for the user name and password on the client side.

### Superelements

client-container (`sun-acc.xml`)

### Subelements

The following table describes subelements for the `client-credential` element.

Table A–23 `client-credential` subelement

Element | Required | Description
--- | --- | ---
property (with attributes) | zero or more | Specifies a property, which has a name and a value.

### Attributes

The following table describes attributes for the `client-credential` element.

Table A–24 `client-credential` attributes

Attribute | Default | Description
--- | --- | ---
`user-name` | none | The user name used to authenticate the Application client container.
`password` | none | The password used to authenticate the Application client container.
`realm` | the default realm for the domain | (optional) The realm (specified by name) where credentials are to be resolved.

- Previous: client-container
- Next: cmp

- © 2010, Oracle Corporation and/or its affiliates