You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2002/07/21 12:52:41 UTC

cvs commit: jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/testserver/ldap/ldapfiles EmbeddedLDAP.data EmbeddedLDAP.delete EmbeddedLDAP.index EmbeddedLDAP.tran EmbeddedLDAP.trpos EmbeddedLDAP.twpos

vmassol     2002/07/21 03:52:41

  Modified:    .        build.properties.sample
               documentation/docs/xdocs howto_security.xml testedon.xml
               sample-servlet build.properties.sample
               sample-servlet/conf/sample/build/j2ee12
                        build.properties.sample
               sample-servlet/conf/sample/build/j2ee13
                        build.properties.sample
               sample-servlet/conf/sample/build/share
                        build-tests-weblogic-70.xml
               sample-servlet/conf/sample/conf/test/j2ee12/tomcat32
                        tomcat-users.xml
               sample-servlet/conf/sample/conf/test/j2ee12/tomcat33
                        tomcat-users.xml
               sample-servlet/conf/sample/conf/test/share/orion14
                        principals.xml
               sample-servlet/conf/sample/conf/test/share/orion15
                        principals.xml
               sample-servlet/conf/sample/conf/test/share/orion16
                        principals.xml
               sample-servlet/conf/sample/conf/test/share/resin20
                        resin.conf
               sample-servlet/conf/sample/conf/test/share/tomcat40
                        tomcat-users.xml
               sample-servlet/conf/sample/conf/test/share/weblogic61
                        fileRealm.properties
               sample-servlet/conf/sample/conf/test/share/weblogic70
                        config.xml fileRealm.properties
               sample-servlet/src/unit/share/org/apache/cactus/unit
                        TestServletTestCase_Authentication.java
  Added:       sample-servlet/conf/sample/conf/test/share/weblogic70/testserver/ldap/ldapfiles
                        EmbeddedLDAP.data EmbeddedLDAP.delete
                        EmbeddedLDAP.index EmbeddedLDAP.tran
                        EmbeddedLDAP.trpos EmbeddedLDAP.twpos
  Log:
  * changed testuser password from "testpwd" to "testpassword" as WL 7.0 requires a 8 letter length password (at least)
  * configured WL 7.0 security using the default embedded LDAP server
  * added WL 7.0 as a tested-on platform
  
  Revision  Changes    Path
  1.20      +2 -2      jakarta-cactus/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/build.properties.sample,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- build.properties.sample	20 Jul 2002 12:48:13 -0000	1.19
  +++ build.properties.sample	21 Jul 2002 10:52:40 -0000	1.20
  @@ -90,7 +90,7 @@
   
   # Note: weblogic.home.70 is the location of BEA Home and NOT the location of
   # wlserver7.0, inside the bea home directory.
  -#weblogic.home.70 = c:/Apps/bea
  +#weblogic.home.70 = c:/bea
   
   # Note: There seems to be a bug in Orion 1.4 preventing it to run correctly
   #       the testSendUserData() test. It runs fine in Orion 1.5 though.
  
  
  
  1.3       +2 -2      jakarta-cactus/documentation/docs/xdocs/howto_security.xml
  
  Index: howto_security.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/howto_security.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- howto_security.xml	21 Apr 2002 21:31:47 -0000	1.2
  +++ howto_security.xml	21 Jul 2002 10:52:40 -0000	1.3
  @@ -48,7 +48,7 @@
   {
       theRequest.setRedirectorName("ServletRedirectorSecure");
       theRequest.setAuthentication(
  -        new BasicAuthentication("testuser", "testpwd"));
  +        new BasicAuthentication("testuser", "testpassword"));
   }
   
   public void testBasicAuthentication()
  @@ -186,7 +186,7 @@
   
   <source><![CDATA[
   <tomcat-users>
  -  <user name="testuser" password="testpwd" roles="test" />
  +  <user name="testuser" password="testpassword" roles="test" />
   </tomcat-users>
   ]]></source>
   
  
  
  
  1.17      +16 -0     jakarta-cactus/documentation/docs/xdocs/testedon.xml
  
  Index: testedon.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/testedon.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- testedon.xml	20 Jul 2002 14:19:53 -0000	1.16
  +++ testedon.xml	21 Jul 2002 10:52:40 -0000	1.17
  @@ -229,6 +229,22 @@
               <td>
               </td>
             </tr>
  +          <tr>
  +            <td>
  +              WebLogic
  +            </td>
  +            <td>
  +              7.0
  +            </td>
  +            <td>
  +              1.2
  +            </td>
  +            <td>
  +              <link href="mailto:vmassol@apache.org">Vincent Massol</link>
  +            </td>
  +            <td>
  +            </td>
  +          </tr>
   
           </table>
   
  
  
  
  1.18      +2 -2      jakarta-cactus/sample-servlet/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/build.properties.sample,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- build.properties.sample	20 Jul 2002 12:48:13 -0000	1.17
  +++ build.properties.sample	21 Jul 2002 10:52:40 -0000	1.18
  @@ -82,7 +82,7 @@
   
   # Note: weblogic.home.70 is the location of BEA Home and NOT the location of
   # wlserver7.0, inside the bea home directory.
  -#weblogic.home.70 = c:/Apps/bea
  +#weblogic.home.70 = c:/bea
   
   # Note: There seems to be a bug in Orion 1.4 preventing it to run correctly
   #       the testSendUserData() test. It runs fine in Orion 1.5 though.
  
  
  
  1.16      +2 -2      jakarta-cactus/sample-servlet/conf/sample/build/j2ee12/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/build/j2ee12/build.properties.sample,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- build.properties.sample	20 Jul 2002 12:48:13 -0000	1.15
  +++ build.properties.sample	21 Jul 2002 10:52:40 -0000	1.16
  @@ -70,7 +70,7 @@
   
   # Note: weblogic.home.70 is the location of BEA Home and NOT the location of
   # wlserver7.0, inside the bea home directory.
  -#weblogic.home.70 = c:/Apps/bea
  +#weblogic.home.70 = c:/bea
   
   # Note: Enhydra 3.3.1 does not seem to support BASIC authentication as defined
   # in the Servlet spec. and thus the tests which involve security are failing.
  
  
  
  1.14      +2 -2      jakarta-cactus/sample-servlet/conf/sample/build/j2ee13/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/build/j2ee13/build.properties.sample,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- build.properties.sample	20 Jul 2002 12:48:14 -0000	1.13
  +++ build.properties.sample	21 Jul 2002 10:52:40 -0000	1.14
  @@ -67,7 +67,7 @@
   
   # Note: weblogic.home.70 is the location of BEA Home and NOT the location of
   # wlserver7.0, inside the bea home directory.
  -#weblogic.home.70 = c:/Apps/bea
  +#weblogic.home.70 = c:/bea
   
   # Note: There seems to be a bug in Orion 1.4 preventing it to run correctly
   #       the testSendUserData() test. It runs fine in Orion 1.5 though.
  
  
  
  1.3       +6 -0      jakarta-cactus/sample-servlet/conf/sample/build/share/build-tests-weblogic-70.xml
  
  Index: build-tests-weblogic-70.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/build/share/build-tests-weblogic-70.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build-tests-weblogic-70.xml	20 Jul 2002 14:22:49 -0000	1.2
  +++ build-tests-weblogic-70.xml	21 Jul 2002 10:52:40 -0000	1.3
  @@ -112,6 +112,7 @@
               value="${conf.test.dir}/weblogic70"/>
   
           <mkdir dir="${target.weblogic70.dir}/testdomain/applications"/>
  +        <mkdir dir="${target.weblogic70.dir}/testdomain/testserver"/>
   
           <!-- Copy WL 7.0 configuration files -->
           <copy file="${conf.weblogic70.dir}/config.xml"
  @@ -122,6 +123,11 @@
               todir="${target.weblogic70.dir}/testdomain"/>
           <copy file="${conf.weblogic70.dir}/DefaultAuthenticatorInit.ldift"
               todir="${target.weblogic70.dir}/testdomain"/>
  +
  +        <!-- Copy security configuration files -->
  +        <copy todir="${target.weblogic70.dir}/testdomain/testserver">
  +            <fileset dir="${conf.weblogic70.dir}/testserver"/>
  +        </copy>
   
           <!-- Copy the war file -->
           <copy file="${target.test.dir}/test.war"
  
  
  
  1.2       +1 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/j2ee12/tomcat32/tomcat-users.xml
  
  Index: tomcat-users.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/j2ee12/tomcat32/tomcat-users.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tomcat-users.xml	20 Jul 2002 12:56:54 -0000	1.1
  +++ tomcat-users.xml	21 Jul 2002 10:52:40 -0000	1.2
  @@ -1,3 +1,3 @@
   <tomcat-users>
  -  <user name="testuser" password="testpwd" roles="test" />
  +  <user name="testuser" password="testpassword" roles="test" />
   </tomcat-users>
  
  
  
  1.2       +1 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/j2ee12/tomcat33/tomcat-users.xml
  
  Index: tomcat-users.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/j2ee12/tomcat33/tomcat-users.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tomcat-users.xml	10 Mar 2002 14:26:02 -0000	1.1
  +++ tomcat-users.xml	21 Jul 2002 10:52:40 -0000	1.2
  @@ -1,3 +1,3 @@
   <tomcat-users>
  -  <user name="testuser" password="testpwd" roles="test" />
  +  <user name="testuser" password="testpassword" roles="test" />
   </tomcat-users>
  
  
  
  1.3       +1 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/share/orion14/principals.xml
  
  Index: principals.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/share/orion14/principals.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- principals.xml	20 Jul 2002 12:25:26 -0000	1.2
  +++ principals.xml	21 Jul 2002 10:52:40 -0000	1.3
  @@ -24,7 +24,7 @@
   			<group-membership group="guests" />
   			<group-membership group="users" />
   		</user>
  -        <user username="testuser" password="testpwd" deactivated="false">
  +        <user username="testuser" password="testpassword" deactivated="false">
               <description>Cactus Test User</description>
           </user>
   	</users>
  
  
  
  1.3       +1 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/share/orion15/principals.xml
  
  Index: principals.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/share/orion15/principals.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- principals.xml	20 Jul 2002 12:25:26 -0000	1.2
  +++ principals.xml	21 Jul 2002 10:52:40 -0000	1.3
  @@ -24,7 +24,7 @@
   			<group-membership group="guests" />
   			<group-membership group="users" />
   		</user>
  -        <user username="testuser" password="testpwd" deactivated="false">
  +        <user username="testuser" password="testpassword" deactivated="false">
               <description>Cactus Test User</description>
           </user>
   	</users>
  
  
  
  1.2       +1 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/share/orion16/principals.xml
  
  Index: principals.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/share/orion16/principals.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- principals.xml	20 Jul 2002 12:48:14 -0000	1.1
  +++ principals.xml	21 Jul 2002 10:52:40 -0000	1.2
  @@ -24,7 +24,7 @@
   			<group-membership group="guests" />
   			<group-membership group="users" />
   		</user>
  -        <user username="testuser" password="testpwd" deactivated="false">
  +        <user username="testuser" password="testpassword" deactivated="false">
               <description>Cactus Test User</description>
           </user>
   	</users>
  
  
  
  1.3       +1 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/share/resin20/resin.conf
  
  Index: resin.conf
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/share/resin20/resin.conf,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- resin.conf	16 Jul 2002 22:12:54 -0000	1.2
  +++ resin.conf	21 Jul 2002 10:52:41 -0000	1.3
  @@ -9,7 +9,7 @@
       <host id=''>
   
         <authenticator class-name='com.caucho.http.security.XmlAuthenticator'>
  -        <init-param user='testuser:testpwd:test'/>
  +        <init-param user='testuser:testpassword:test'/>
         </authenticator>
   
         <war-dir id='.'/>
  
  
  
  1.2       +1 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/share/tomcat40/tomcat-users.xml
  
  Index: tomcat-users.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/share/tomcat40/tomcat-users.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tomcat-users.xml	21 Apr 2002 12:51:59 -0000	1.1
  +++ tomcat-users.xml	21 Jul 2002 10:52:41 -0000	1.2
  @@ -1,3 +1,3 @@
   <tomcat-users>
  -  <user name="testuser" password="testpwd" roles="test" />
  +  <user name="testuser" password="testpassword" roles="test" />
   </tomcat-users>
  
  
  
  1.3       +1 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic61/fileRealm.properties
  
  Index: fileRealm.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic61/fileRealm.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- fileRealm.properties	20 Jul 2002 14:19:54 -0000	1.2
  +++ fileRealm.properties	21 Jul 2002 10:52:41 -0000	1.3
  @@ -1,7 +1,7 @@
   #Mon Dec 10 17:24:02 GMT 2001
   acl.unlockServer.weblogic.admin=Administrators
   user.system=0xb925d776addde243d018a561318650afadb954cc
  -user.testuser=0x9d5b87e7148b1736f1b05d4c5add5e246cd53b0a
  +user.testuser=0x52ac5510feac8b38a621a64c13be7799675e7e3c
   acl.lockServer.weblogic.admin=Administrators
   acl.unlockuser.weblogic.passwordpolicy=Administrators
   acl.shutdown.weblogic.admin=Administrators
  
  
  
  1.2       +13 -1     jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/config.xml
  
  Index: config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/config.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- config.xml	19 Jun 2002 22:02:53 -0000	1.1
  +++ config.xml	21 Jul 2002 10:52:41 -0000	1.2
  @@ -1,3 +1,15 @@
  +<?xml version="1.0" encoding="UTF-8"?>
  +
   <Domain Name="testdomain">
  -  <Server Name="testserver" NativeIOEnabled="true" ListenPort="@test.port@"/>
  +    <EmbeddedLDAP
  +        Credential="{3DES}55B/7RZVVwwrYUjjEf9Cdd5f72Gj7pm7apl5R36oQfU=" Name="testdomain"/>
  +    <FileRealm Name="wl_default_file_realm"/>
  +    <PasswordPolicy Name="wl_default_password_policy"/>
  +    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
  +    <Security Name="testdomain"
  +        PasswordPolicy="wl_default_password_policy"
  +        Realm="wl_default_realm" RealmSetup="true"/>
  +    <SecurityConfiguration
  +        Credential="{3DES}VXIBKpJ4bKQa1IbvnNqcaZa6BPWIg0zhWlcSd2lrfZmn7KZ9gF7QnMZqhjswb/KzSbiBo/cuJGV7qLrkNbpL64iLduDXGin1" Name="testdomain"/>
  +    <Server Name="testserver" NativeIOEnabled="true" ListenPort="@test.port@"/>
   </Domain>
  
  
  
  1.3       +0 -1      jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/fileRealm.properties
  
  Index: fileRealm.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/fileRealm.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- fileRealm.properties	20 Jul 2002 14:19:54 -0000	1.2
  +++ fileRealm.properties	21 Jul 2002 10:52:41 -0000	1.3
  @@ -2,7 +2,6 @@
   acl.modify.weblogic.admin.acl=Administrators
   acl.unlockServer.weblogic.admin=Administrators
   user.system=0xa7dc9690ce40f88dac3bdd23cb32588ff5546bb6
  -user.testuser=0x9d5b87e7148b1736f1b05d4c5add5e246cd53b0a
   acl.lockServer.weblogic.admin=Administrators
   acl.unlockuser.weblogic.passwordpolicy=Administrators
   acl.shutdown.weblogic.admin=Administrators
  
  
  
  1.3       +2 -2      jakarta-cactus/sample-servlet/src/unit/share/org/apache/cactus/unit/TestServletTestCase_Authentication.java
  
  Index: TestServletTestCase_Authentication.java
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/src/unit/share/org/apache/cactus/unit/TestServletTestCase_Authentication.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestServletTestCase_Authentication.java	10 Apr 2002 00:26:20 -0000	1.2
  +++ TestServletTestCase_Authentication.java	21 Jul 2002 10:52:41 -0000	1.3
  @@ -115,7 +115,7 @@
       {
           theRequest.setRedirectorName("ServletRedirectorSecure");
           theRequest.setAuthentication(
  -            new BasicAuthentication("testuser", "testpwd"));
  +            new BasicAuthentication("testuser", "testpassword"));
       }
   
       /**
  
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/testserver/ldap/ldapfiles/EmbeddedLDAP.data
  
  	<<Binary file>>
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/testserver/ldap/ldapfiles/EmbeddedLDAP.delete
  
  	<<Binary file>>
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/testserver/ldap/ldapfiles/EmbeddedLDAP.index
  
  	<<Binary file>>
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/testserver/ldap/ldapfiles/EmbeddedLDAP.tran
  
  	<<Binary file>>
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/testserver/ldap/ldapfiles/EmbeddedLDAP.trpos
  
  	<<Binary file>>
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/testserver/ldap/ldapfiles/EmbeddedLDAP.twpos
  
  	<<Binary file>>
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>