You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by qu...@apache.org on 2003/05/01 18:09:48 UTC

cvs commit: jakarta-turbine-fulcrum/xmlrpc/src/test TestComponentConfig.xml TestRoleConfig.xml

quintonm    2003/05/01 09:09:48

  Added:       xmlrpc/src/test TestComponentConfig.xml TestRoleConfig.xml
  Log:
  Configuration files for the testing to the XML-RPC component.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-fulcrum/xmlrpc/src/test/TestComponentConfig.xml
  
  Index: TestComponentConfig.xml
  ===================================================================
  <componentConfig>
      <XmlRpcComponent>
        <!-- Port on which the XML-RPC server will listen for
             incoming connections -->
        <port>12345</port>
        <!-- Parser implementation to use -->
        <parser>org.apache.xerces.parsers.SAXParser</parser>
        <!-- Should the server use a secure protocol for
             communications? -->
        <secureServer>false</secureServer>
        <!-- Secure server options - these only have meaning
             when the secure server option is set to true -->
        <systemProperty name="java.protocol.handler.pkgs"
            value="com.sun.net.ssl.internal.www.protocol" />
        <systemProperty name="security.provider"
            value="com.sun.net.ssl.internal.ssl.Provider" />
        <systemProperty name="security.protocol"
            value="TLS" />
        <!-- You probabley want to keep you keyStore and
             trustStore out of you webapp root -->
        <systemProperty name="javax.net.ssl.keyStore"
            value="/tmp/keystore" />
        <systemProperty name="javax.net.ssl.keyStoreType"
            value="jks" />
        <systemProperty name="javax.net.ssl.keyStorePassword"
              value="password" />
        <systemProperty name="javax.net.ssl.trustStoreType"
            value="/tmp/truststore" />
        <systemProperty name="javax.net.ssl.trustStorePassword"
            value="password" />
        <systemProperty name="sun.ssl.keymanager.type"
            value="SunX509" />
        <systemProperty name="sun.ssl.trust.manager.type"
            value="SunX509" />
        <!-- Set the following values to "all" for debugging -->
        <systemProperty name="javax.net.debug"
            value="none" />
        <systemProperty name="java.security.debug"
            value="none" />
        <!-- Handlers configured to process incoming requests -->
        <handlers/>
        <!-- Parnoid mode will allows you to configure specific
             client addresses from which connections will be accepted
             or denied -->
        <paranoid>true</paranoid>
        <!-- Clients from which connections will be accepted.  This
             section has no meaning unless operating in paranoid mode -->
        <acceptedClients clientIP="192.168.1.*"/>
        <!-- Clients from which connections will be denied.  This
             section has no meaning unless operating in paranoid mode -->
        <deniedClients clientIP="10.1.1.*"/>
        <deniedClients clientIP="10.1.2.*"/>
      </XmlRpcComponent>
  </componentConfig>
  
  
  1.1                  jakarta-turbine-fulcrum/xmlrpc/src/test/TestRoleConfig.xml
  
  Index: TestRoleConfig.xml
  ===================================================================
  <!-- This configuration file for Avalon components is used for testing the TestComponent -->
  <role-list>
      <role
          name="org.apache.fulcrum.xmlrpc.XmlRpcComponent"
          shorthand="XmlRpcComponent"
          default-class="org.apache.fulcrum.xmlrpc.DefaultXmlRpcComponent"/>
  </role-list>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org