Sun GlassFish Enterprise Server v3 Prelude Application Deployment Guide

A

activation-config

Specifies an activation configuration, which includes the runtime configuration properties of the message-driven bean in its operational environment. For example, this can include information about the name of a physical JMS destination. Matches and overrides the activation-config element in the ejb-jar.xml file.

Superelements

mdb-resource-adapter (sun-ejb-jar.xml)

Subelements

The following table describes subelements for the activation-config element.

Table A–2 activation-config subelements

Element 

Required 

Description 

description

zero or one 

Specifies a text description of the activation configuration. 

activation-config-property

one or more 

Specifies an activation configuration property. 

activation-config-property

Specifies the name and value of an activation configuration property.

Superelements

activation-config (sun-ejb-jar.xml)

Subelements

The following table describes subelements for the activation-config-property element.

Table A–3 activation-config-property subelements

Element 

Required 

Description 

activation-config-property-name

only one 

Specifies the name of an activation configuration property. 

activation-config-property-value

only one 

Specifies the value of an activation configuration property. 

activation-config-property-name

Specifies the name of an activation configuration property.

Superelements

activation-config-property (sun-ejb-jar.xml)

Subelements

none - contains data

activation-config-property-value

Specifies the value of an activation configuration property.

Superelements

activation-config-property (sun-ejb-jar.xml)

Subelements

none - contains data

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 in the auth-method element must be used for client authentication.

auth-method

Specifies the authentication method.

If the parent element is as-context, the only supported value is USERNAME_PASSWORD.

If the parent element is login-config, specifies the authentication mechanism for the web service endpoint. As a prerequisite to gaining access to any web resources protected by an authorization constraint, a user must be authenticated using the configured mechanism.

Superelements

login-config (sun-web.xml), as-context (sun-ejb-jar.xml)

Subelements

none - contains data