Defines the GlassFish 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.
none
The following table describes subelements for the client-container element.
Table C–25 client-container Subelements
Element |
Required |
Description |
---|---|---|
only one (developer profile) |
Specifies the IIOP listener for the target server. A listener or endpoint is in the form host:port, where the host is an IP address or host name, and the port specifies the port number. |
|
zero or one |
Specifies the optional configuration for JAAS authentication realm. |
|
zero or one |
Specifies the default client credential that is sent to the server. |
|
zero or one |
Specifies the default log file and the severity level of the message. |
|
zero or more |
Specifies configurations for message security providers. |
|
zero or more |
Specifies a property, which has a name and a value. |
The following table describes attributes for the client-container element.
Table C–26 client-container Attributes
Attribute |
Default |
Description |
---|---|---|
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. |
The following table describes properties for the client-container element.
Table C–27 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. Deprecated. Use target-server elements instead. |