You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Andy Cutright <An...@borland.com> on 2004/04/08 18:59:55 UTC

RE: JdbcAuthenticator

so if we want to put this code in our codebase (the JdbcAuthenticator),
it's already been posted with an apache license. do we need to get a
CLA? i've looked over the licensing FAQ http://www.apache.org/licenses/,
and it mentions that a CLA is necessary for commit rights, but doesn't
say anything about "patches", etc. 

i'm assuming since it's been posted with a 1.1 apache foundation
license, we already have the copyright ... thoughts? 

cheers,
andy 

> -----Original Message-----
> From: Ilias Stergiou [mailto:istergiou@yahoo.co.uk] 
> Sent: Wednesday, February 25, 2004 11:17 AM
> To: juddi-dev@ws.apache.org
> Subject: JdbcAuthenticator
> 
> Hello all,
>     please find attached for your consideration
> - a JdbcAthenticator that authenticates users using 
> credentials from the 
> database
> - the JdbcAuthenticatorTest.java, a junit test case
> - a build.xml diff for adding the tasks that run and compile 
> the test case
> - a JdbcAuthenticator HowTo
> 
> The source code has been checkstyled and the howto is in 
> Forrest format,
> 
> Ilias
> 
> Index: build.xml
> ===================================================================
> RCS file: /home/cvspublic/ws-juddi/build.xml,v
> retrieving revision 1.3
> diff -u -r1.3 build.xml
> --- build.xml    2 Feb 2004 21:55:30 -0000    1.3
> +++ build.xml    25 Feb 2004 19:09:01 -0000
> @@ -407,6 +407,44 @@
>      </java>
>    </target>
>    <!-- 
> ==============================================================
> ===== -->
> +  <!-- Compiles JdbcAthenticator 
> Tests                                     -->
> +  <!-- 
> ==============================================================
> ===== -->
> +  <target name="compile-jdbcauth-tests" depends="jar">
> +    <mkdir dir="${build.dir}/unit/classes"/>
> +    <javac
> +        destdir="${build.dir}/unit/classes"
> +        debug="${compile.debug}"
> +        deprecation="${compile.deprecation}"
> +        optimize="${compile.optimize}">
> +      <classpath refid="project.classpath"/>
> +      <src path="${src.dir}/junit"/>
> +    </javac>
> +  </target>
> +  <!-- 
> ==============================================================
> ===== -->
> +  <!-- Runs JdbcAthenticator 
> Tests                                         -->
> +  <!-- 
> ==============================================================
> ===== -->
> +  <target name="run-jdbcauth-tests" depends="compile-uddi4j-tests">
> +    <java classname="${test.runner}" fork="true">
> +      <jvmarg 
> value="-Dorg.uddi4j.TransportClassName=org.uddi4j.transport.Ap
> acheAxisTransport"/>
> +      <arg value="org.apache.juddi.auth.JdbcAuthenticatorTest"/>
> +      <classpath>
> +                <pathelement location="${lib.dir}/uddi4j.jar"/>
> +                <pathelement location="${lib.dir}/junit.jar"/>
> +                <pathelement location="${lib.dir}/axis.jar"/>
> +                <pathelement location="${lib.dir}/jaxrpc.jar"/>
> +                <pathelement location="${lib.dir}/saaj.jar"/>
> +                <pathelement 
> location="${lib.dir}/commons-logging.jar"/>
> +                <pathelement 
> location="${lib.dir}/commons-discovery.jar"/>
> +                <pathelement 
> location="${lib.dir}/commons-collections.jar"/>
> +                <pathelement location="${lib.dir}/commons-dbcp.jar"/>
> +                <pathelement location="${lib.dir}/commons-pool.jar"/>
> +                <pathelement location="${build.dir}/juddi.jar"/>
> +                <pathelement location="${build.dir}/unit/classes"/>
> +                <pathelement location="${build.dir}/${jar.file}"/>
> +      </classpath>
> +    </java>
> +  </target>
> +  <!-- 
> ==============================================================
> ===== -->
>    <!-- Creates the source 
> distribution                                     -->
>    <!-- 
> ==============================================================
> ===== -->
>    <target name="source" depends="javadoc">
> 
>