Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


3.2 glassfish-acc.xml

glassfish-acc.xml is the Java EE RI DD for specifying application client container settings.

Description

glassfish-acc.xml is the DD for specifying application client container settings that are unique to Java EE RI.

The root element of glassfish-acc.xml is client-container. The element client-container contains child elements and attributes, as indicated by "Element hierarchy". These child elements and attributes may also contain their child elements and attributes.

Schema

<!DOCTYPE client-container PUBLIC 
"-//GlassFish.org//
DTD GlassFish Application Server 3.1 Application Client Container//EN" 
"http://glassfish.org/dtds/glassfish-application-client-container_1_3.dtd">

Storage location

The DD file is stored in the following location:

domain-dir/config directory.

domain-dir: Represents the directory in which the configuration of a domain is stored.

Element hierarchy

client-container
. target-server
.. description
.. security
. auth-realm
.. property
. message-security-config
.. provider-config
... request-policy
... response-policy
... property
. property

Example

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE client-container PUBLIC 
"-//GlassFish.org//
DTD GlassFish Application Server 3.1 Application Client Container//EN" 
"http://glassfish.org/dtds/glassfish-application-client-container_1_3.dtd">
<client-container>
  <target-server name="vm006248" address="localhost" port="3700"/>
  <log-service file="" level="WARNING"/>
  <message-security-config auth-layer="SOAP">
    <provider-config class-name=
"com.sun.xml.wss.provider.ClientSecurityAuthModule" 
provider-id="XWS_ClientProvider" provider-type="client"> 
       <request-policy auth-source="content"/>
      <response-policy auth-source="content"/>
    </provider-config>
  </message-security-config>
</client-container>