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

client-container

Defines the Application Server specific configuration for the application client container. This is the root element; there can only be one client-container element in a sun-acc.xml file. See The sun-acc.xml File.

Superelements

none

Subelements

The following table describes subelements for the client-container element.

Table A–22 client-container Subelements

Element  

Required  

Description  

target-server

only one 

Specifies the IIOP listener configuration of the target server. 

auth-realm

zero or one 

Specifies the optional configuration for JAAS authentication realm. 

client-credential

zero or one 

Specifies the default client credential that is sent to the server. 

log-service

zero or one 

Specifies the default log file and the severity level of the message. 

message-security-config

zero or more 

Specifies configurations for message security providers. 

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-container element.

Table A–23 client-container Attributes

Attribute  

Default  

Description  

send-password

true

If true, specifies that client authentication credentials must be sent to the server. Without authentication credentials, all access to protected EJB components results in exceptions.

Properties

The following table describes properties for the client-container element.

Table A–24 client-container Properties

Property  

Default  

Description  

com.sun.appserv.iiop.endpoints

none 

Specifies a comma-separated list of one or more IIOP endpoints used for load balancing. An IIOP endpoint is in the form host:port, where the host is an IP address or host name, and the port specifies the port number.