Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Reference

- Previous: P
- Next: S

# R

## request-policy

Defines the authentication policy requirements of the authentication provider’s request processing.

### Superelements

provider-config

### Subelements

none

### Attributes

The following table describes attributes for the `request-policy` element.

Table 1–99 `request-policy` Attributes

Attribute | Default | Description
--- | --- | ---
`auth-source` | none | Specifies the type of required authentication, either `sender` (user name and password) or `content` (digital signature).
`auth-recipient` | none | Specifies whether recipient authentication occurs before or after content authentication. Allowed values are `before-content` and `after-content`.

## resource-adapter-config

Defines a connector (resource adapter) configuration. Stores configuration information for the resource adapter JavaBean in `property` subelements.

### Superelements

resources

### Subelements

The following table describes subelements for the `resource-adapter-config` element.

Table 1–100 `resource-adapter-config` Subelements

Element | Required | Description
--- | --- | ---
property | zero or more | Specifies a property or a variable.

### Attributes

The following table describes attributes for the `resource-adapter-config` element.

Table 1–101 `resource-adapter-config` Attributes

Attribute | Default | Description
--- | --- | ---
`name` | none | (optional) Not used. See `resource-adapter-name`.
`thread-pool-ids` | none | (optional) Specifies the `id` of a thread-pool element.
`object-type` | `user` | (optional) Defines the type of the resource. Allowed values are: `system-all` - A system resource for all server instances and the domain application server. `system-admin` - A system resource only for the domain application server. `system-instance` - A system resource for all server instances only. `user` - A user resource.
`resource-adapter-name` | none | Specifies the `name` attribute of a deployed connector-module. If the resource adapter is embedded in an application, then it is app_name`#`rar_name.

### Properties

Properties of the `resource-adapter-config` element are the names of setter methods of the `resourceadapter-class` element in the `ra.xml` file, which defines the class name of the resource adapter JavaBean. Any properties defined here override the default values present in `ra.xml`.

## resource-ref

References a resource deployed to the server instance.

### Superelements

server

### Subelements

none

### Attributes

The following table describes attributes for the `resource-ref` element.

Table 1–102 `resource-ref` Attributes

Attribute | Default | Description
--- | --- | ---
`enabled` | `true` | (optional) Determines whether the resource is enabled.
`ref` | none | References the `name` attribute of a custom-resource, external-jndi-resource, jdbc-resource, mail-resource, persistence-manager-factory-resource, admin-object-resource resource-adapter-config, jdbc-connection-pool, or connector-connection-pool element.

## resources

Contains configured resources, such as database connections, JavaMailTM sessions, and so on.

Note –

You must specify a Java Naming and Directory InterfaceTM (JNDI) name for each resource. To avoid collisions with names of other enterprise resources in JNDI, and to avoid portability problems, all names in an Application Server application should begin with the string `java:comp/env`.

### Superelements

domain

### Subelements

The following table describes subelements for the `resources` element.

Table 1–103 `resources` Subelements

Element | Required | Description
--- | --- | ---
custom-resource | zero or more | Defines a custom resource.
external-jndi-resource | zero or more | Defines a resource that resides in an external JNDI repository.
jdbc-resource | zero or more | Defines a JDBC (Java Database Connectivity) resource.
mail-resource | zero or more | Defines a JavaMail resource.
persistence-manager-factory-resource | zero or more | Defines a persistence manager factory resource for CMP.
admin-object-resource | zero or more | Defines an administered object for an inbound resource adapter.
connector-resource | zero or more | Defines a connector (resource adapter) resource.
resource-adapter-config | zero or more | Defines a resource adapter configuration.
jdbc-connection-pool | zero or more | Defines the properties that are required for creating a JDBC connection pool.
connector-connection-pool | zero or more | Defines the properties that are required for creating a connector connection pool.

Note –

Subelements of a `resources` element can occur in any order.

## response-policy

Defines the authentication policy requirements of the authentication provider’s response processing.

### Superelements

provider-config

### Subelements

none

### Attributes

The following table describes attributes for the `response-policy` element.

Table 1–104 `response-policy` Attributes

Attribute | Default | Description
--- | --- | ---
`auth-source` | none | Specifies the type of required authentication, either `sender` (user name and password) or `content` (digital signature).
`auth-recipient` | none | Specifies whether recipient authentication occurs before or after content authentication. Allowed values are `before-content` and `after-content`.

- Previous: P
- Next: S

- © 2010, Oracle Corporation and/or its affiliates