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

- Previous: activation-config-property-value
- Next: auth-method

## as-context

Specifies the authentication mechanism used to authenticate the client.

### Superelements

ior-security-config (`sun-ejb-jar.xml`)

### Subelements

The following table describes subelements for the `as-context` element.

Table A–4 `as-context` Subelements

Element | Required | Description
--- | --- | ---
auth-method | only one | Specifies the authentication method. The only supported value is `USERNAME_PASSWORD`.
realm | only one | Specifies the realm in which the user is authenticated.
required | only one | Specifies whether the authentication method specified must be used for client authentication.

- Previous: activation-config-property-value
- Next: auth-method

- © 2010, Oracle Corporation and/or its affiliates