directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r122654 - in incubator/directory/kerberos/trunk: eve-kerberos eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp eve-kerberos/src/test/org/apache/kerberos/kdc protocol protocol/src protocol/src/java protocol/src/test
Date Fri, 17 Dec 2004 17:09:22 GMT
Author: akarasulu
Date: Fri Dec 17 09:09:21 2004
New Revision: 122654

URL: http://svn.apache.org/viewcvs?view=rev&rev=122654
Log:
Changes ...

 o adding new protocol provider implementation project skeleton
 o cleanup up eve-kerberos project due to Eve changes (need CI to stop this)
 o using dep on eve-0.8-SNAPSHOT now instead of all the individual deps in
   eve project which keeps things cleaner yet there is a dep on a 2.7 Mb jar :(


Added:
   incubator/directory/kerberos/trunk/protocol/   (props changed)
   incubator/directory/kerberos/trunk/protocol/project.properties
   incubator/directory/kerberos/trunk/protocol/project.xml
   incubator/directory/kerberos/trunk/protocol/src/
   incubator/directory/kerberos/trunk/protocol/src/java/
   incubator/directory/kerberos/trunk/protocol/src/test/
Modified:
   incubator/directory/kerberos/trunk/eve-kerberos/project.xml
   incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java
   incubator/directory/kerberos/trunk/eve-kerberos/src/test/org/apache/kerberos/kdc/EmbeddedEveStoreTest.java

Modified: incubator/directory/kerberos/trunk/eve-kerberos/project.xml
Url: http://svn.apache.org/viewcvs/incubator/directory/kerberos/trunk/eve-kerberos/project.xml?view=diff&rev=122654&p1=incubator/directory/kerberos/trunk/eve-kerberos/project.xml&r1=122653&p2=incubator/directory/kerberos/trunk/eve-kerberos/project.xml&r2=122654
==============================================================================
--- incubator/directory/kerberos/trunk/eve-kerberos/project.xml	(original)
+++ incubator/directory/kerberos/trunk/eve-kerberos/project.xml	Fri Dec 17 09:09:21 2004
@@ -17,62 +17,14 @@
   </description>
   <dependencies>
     <dependency>
-      <groupId>regexp</groupId>
-      <artifactId>regexp</artifactId>
-      <version>1.2</version>
-      <url>http://jakarta.apache.org/regexp/index.html</url>
-    </dependency>
-    <dependency>
-      <groupId>oro</groupId>
-      <artifactId>oro</artifactId>
-      <version>2.0.7</version>
-      <url>http://jakarta.apache.org/oro</url>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-      <version>1.0</version>
-      <url>http://jakarta.apache.org/commons/io</url>
-    </dependency>
-    <dependency>
-      <groupId>antlr</groupId>
-      <artifactId>antlr</artifactId>
-      <version>2.7.2</version>
-      <url>http://antlr.org/</url>
-    </dependency>
-    <dependency>
-      <groupId>jdbm</groupId>
-      <artifactId>jdbm</artifactId>
-      <version>SNAPSHOT</version>
-      <type>jar</type>
-      <url>http://jdbm.sourceforge.net</url>
-    </dependency>
-    <dependency>
-      <groupId>incubator-directory</groupId>
-      <artifactId>ldap-common</artifactId>
-      <version>SNAPSHOT</version>
-      <type>jar</type>
-    </dependency>
-    <dependency>
-      <groupId>aspectj</groupId>
-      <artifactId>aspectjrt</artifactId>
-      <version>1.2</version>
-      <type>jar</type>
-    </dependency>
-    <dependency>
       <groupId>incubator-directory</groupId>
       <artifactId>kerberos</artifactId>
       <version>SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>incubator-directory</groupId>
-      <artifactId>eve-jndi-provider</artifactId>
-      <version>SNAPSHOT</version>
-    </dependency>
-    <dependency>
-      <groupId>incubator-directory</groupId>
-      <artifactId>eve-shared</artifactId>
-      <version>SNAPSHOT</version>
+      <artifactId>eve</artifactId>
+      <version>0.8-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>incubator-directory</groupId>

Modified: incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java
Url: http://svn.apache.org/viewcvs/incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java?view=diff&rev=122654&p1=incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java&r1=122653&p2=incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java&r2=122654
==============================================================================
--- incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java
(original)
+++ incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java
Fri Dec 17 09:09:21 2004
@@ -17,7 +17,7 @@
 package org.apache.kerberos.kdc.server.udp;
 
 
-import org.apache.eve.jndi.EveContextFactory;
+import org.apache.eve.jndi.EnvKeys;
 import org.apache.kerberos.kdc.EmbeddedEveStore;
 import org.apache.kerberos.kdc.KdcConfiguration;
 import org.apache.kerberos.kdc.KdcDispatcher;
@@ -54,7 +54,7 @@
         Hashtable env = new Hashtable();
         env.put( Context.PROVIDER_URL, "dc=example,dc=com" );
         env.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.eve.jndi.EveContextFactory"
);
-        env.put( EveContextFactory.WKDIR_ENV, "target" + File.separator + "eve" );
+        env.put( EnvKeys.WKDIR, "target" + File.separator + "eve" );
 
         BasicAttributes attrs = new BasicAttributes( true );
         BasicAttribute attr = new BasicAttribute( "objectClass" );
@@ -66,10 +66,10 @@
         attr.add( "testing" );
         attrs.put( attr );
 
-        env.put( EveContextFactory.PARTITIONS_ENV, "example" );
-        env.put( EveContextFactory.SUFFIX_BASE_ENV + "example", "dc=example,dc=com" );
-        env.put( EveContextFactory.INDICES_BASE_ENV + "example", "ou objectClass" );
-        env.put( EveContextFactory.ATTRIBUTES_BASE_ENV + "example", attrs );
+        env.put( EnvKeys.PARTITIONS, "example" );
+        env.put( EnvKeys.SUFFIX + "example", "dc=example,dc=com" );
+        env.put( EnvKeys.INDICES + "example", "ou objectClass" );
+        env.put( EnvKeys.ATTRIBUTES + "example", attrs );
 
         env.put( EmbeddedEveStore.KDC_ENTRY_LDIF_FILE, "./src/ldif/example.com" );
         env.put( EmbeddedEveStore.KDC_ENTRY_BASEDN_KEY, "ou=Users,dc=example,dc=com" );

Modified: incubator/directory/kerberos/trunk/eve-kerberos/src/test/org/apache/kerberos/kdc/EmbeddedEveStoreTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/kerberos/trunk/eve-kerberos/src/test/org/apache/kerberos/kdc/EmbeddedEveStoreTest.java?view=diff&rev=122654&p1=incubator/directory/kerberos/trunk/eve-kerberos/src/test/org/apache/kerberos/kdc/EmbeddedEveStoreTest.java&r1=122653&p2=incubator/directory/kerberos/trunk/eve-kerberos/src/test/org/apache/kerberos/kdc/EmbeddedEveStoreTest.java&r2=122654
==============================================================================
--- incubator/directory/kerberos/trunk/eve-kerberos/src/test/org/apache/kerberos/kdc/EmbeddedEveStoreTest.java
(original)
+++ incubator/directory/kerberos/trunk/eve-kerberos/src/test/org/apache/kerberos/kdc/EmbeddedEveStoreTest.java
Fri Dec 17 09:09:21 2004
@@ -28,7 +28,7 @@
 import javax.security.auth.kerberos.KerberosPrincipal;
 
 import junit.framework.TestCase;
-import org.apache.eve.jndi.EveContextFactory;
+import org.apache.eve.jndi.EnvKeys;
 import org.apache.ldap.common.util.PropertiesUtils;
 import org.apache.commons.io.FileUtils;
 
@@ -86,7 +86,7 @@
         Hashtable env = new Hashtable();
         env.put( Context.PROVIDER_URL, "ou=system" );
         env.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.eve.jndi.EveContextFactory"
);
-        env.put( EveContextFactory.SHUTDOWN_OP_ENV, "" );
+        env.put( EnvKeys.SHUTDOWN, "" );
         env.put( Context.SECURITY_PRINCIPAL, "uid=admin,ou=system" );
         env.put( Context.SECURITY_CREDENTIALS, "testing" );
         try { new InitialContext( env ); } catch( Exception e ) {}
@@ -118,7 +118,7 @@
         Hashtable env = new Hashtable();
         env.put( Context.PROVIDER_URL, "dc=example,dc=com" );
         env.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.eve.jndi.EveContextFactory"
);
-        env.put( EveContextFactory.WKDIR_ENV, "target" + File.separator + "eve" );
+        env.put( EnvKeys.WKDIR, "target" + File.separator + "eve" );
 
         BasicAttributes attrs = new BasicAttributes( true );
         BasicAttribute attr = new BasicAttribute( "objectClass" );
@@ -130,10 +130,10 @@
         attr.add( "testing" );
         attrs.put( attr );
 
-        env.put( EveContextFactory.PARTITIONS_ENV, "example" );
-        env.put( EveContextFactory.SUFFIX_BASE_ENV + "example", "dc=example,dc=com" );
-        env.put( EveContextFactory.INDICES_BASE_ENV + "example", "ou objectClass" );
-        env.put( EveContextFactory.ATTRIBUTES_BASE_ENV + "example", attrs );
+        env.put( EnvKeys.PARTITIONS, "example" );
+        env.put( EnvKeys.SUFFIX + "example", "dc=example,dc=com" );
+        env.put( EnvKeys.INDICES + "example", "ou objectClass" );
+        env.put( EnvKeys.ATTRIBUTES + "example", attrs );
 
         env.put( EmbeddedEveStore.KDC_ENTRY_LDIF_FILE, "./src/ldif/example.com" );
         env.put( EmbeddedEveStore.KDC_ENTRY_BASEDN_KEY, "ou=Users,dc=example,dc=com" );

Added: incubator/directory/kerberos/trunk/protocol/project.properties
Url: http://svn.apache.org/viewcvs/incubator/directory/kerberos/trunk/protocol/project.properties?view=auto&rev=122654
==============================================================================
--- (empty file)
+++ incubator/directory/kerberos/trunk/protocol/project.properties	Fri Dec 17 09:09:21 2004
@@ -0,0 +1,2 @@
+maven.xdoc.includeProjectDocumentation=yes
+maven.license.licenseFile=${basedir}/../../../LICENSE.txt

Added: incubator/directory/kerberos/trunk/protocol/project.xml
Url: http://svn.apache.org/viewcvs/incubator/directory/kerberos/trunk/protocol/project.xml?view=auto&rev=122654
==============================================================================
--- (empty file)
+++ incubator/directory/kerberos/trunk/protocol/project.xml	Fri Dec 17 09:09:21 2004
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <extend>${basedir}/../project.xml</extend>
+  <artifactId>kerberos-protocol</artifactId>
+  <name>Kerberos SEDA Protocol Provider</name>
+  <inceptionYear>2004</inceptionYear>
+  <shortDescription>The Kerberos SEDA Protocol Provider</shortDescription>
+  <description>
+    The SEDA protocol provider used to snap in Kerberos handlers and codecs into
+    the SEDA framework.  
+  </description>
+  <dependencies>
+    <dependency>
+      <groupId>regexp</groupId>
+      <artifactId>regexp</artifactId>
+      <version>1.2</version>
+      <type>jar</type>
+      <url>http://jakarta.apache.org/regexp/index.html</url>
+      <properties>
+        <gump.project>jakarta-regexp</gump.project>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>antlr</groupId>
+      <artifactId>antlr</artifactId>
+      <version>2.7.2</version>
+      <url>http://antlr.org/</url>
+    </dependency>
+    <dependency>
+      <groupId>incubator-directory</groupId>
+      <artifactId>snickers-codec</artifactId>
+      <version>0.2.0-SNAPSHOT</version>
+      <url>http://incubator.apache.org/directory/subprojects/snickers/codec</url>
+    </dependency>
+    <dependency>
+      <groupId>incubator-directory</groupId>
+      <artifactId>seda</artifactId>
+      <version>0.2.0-SNAPSHOT</version>
+      <url>http://incubator.apache.org/directory/subprojects/seda</url>
+    </dependency>
+  </dependencies>
+
+  <reports>
+    <report>maven-changes-plugin</report>
+    <report>maven-tasklist-plugin</report>
+    <report>maven-junit-report-plugin</report>
+    <report>maven-jdepend-plugin</report>
+    <report>maven-jcoverage-plugin</report>
+    <!-- <report>maven-checkstyle-plugin</report> -->
+    <report>maven-simian-plugin</report>
+    <report>maven-javadoc-plugin</report>
+    <report>maven-jxr-plugin</report>
+    <report>maven-license-plugin</report>
+    <report>maven-multiproject-plugin</report>
+  </reports>
+
+</project>
+

Mime
View raw message