Sun GlassFish Enterprise Server v3 Prelude Administration Reference

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–78 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.

request-processing

Configures request processing threads.

Superelements

http-service

Subelements

none

Attributes

The following table describes attributes for the request-processing element.

Table 1–79 request-processing Attributes

Attribute 

Default 

Description 

thread-count

20

(optional) Specifies the maximum number of request processing threads. 

initial-thread-count

2

(optional) Specifies the number of request processing threads that are available when the server starts up. 

thread-increment

1

(optional) Specifies the number of request processing threads added when the number of requests exceeds the initial-thread-count.

request-timeout-in-seconds

30

(optional) Specifies the time at which the request times out. 

header-buffer-length-in-bytes

8192

(optional) Specifies the size of the buffer used by the request processing threads to read the request data. 

resource-ref

References a resource deployed to the server.

Superelements

server

Subelements

none

Attributes

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

Table 1–80 resource-ref Attributes

Attribute 

Default 

Description 

enabled

true

(optional) Determines whether the resource is enabled. 

ref

none 

References the name attribute of a jdbc-resource or jdbc-connection-pool element.

resources

Contains configured resources, such as database connections.


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 Enterprise Server application should begin with the string java:comp/env.


Superelements

domain

Subelements

The following table describes subelements for the resources element.

Table 1–81 resources Subelements

Element 

Required 

Description 

jdbc-resource

zero or more 

Defines a JDBC (Java Database Connectivity) resource. 

jdbc-connection-pool

zero or more 

Defines the properties that are required for creating a JDBC 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–82 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.