directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r360058 - in /directory/trunk: apacheds-server-unit/ ntp-protocol/ ntp-protocol/xdocs/ protocol-common/src/main/java/org/apache/protocol/common/catalog/ protocol-common/src/main/java/org/apache/protocol/common/chain/impl/ protocol-common/sr...
Date Fri, 30 Dec 2005 10:05:44 GMT
Author: akarasulu
Date: Fri Dec 30 02:05:36 2005
New Revision: 360058

URL: http://svn.apache.org/viewcvs?rev=360058&view=rev
Log:
changes ...

 o ntp needed a mina dep 
 o cleaned up some warning in proto-common
 o added pom to server-unit and it all compiles but tests don't pass
 o fixed xdoc

Added:
    directory/trunk/apacheds-server-unit/pom.xml
Modified:
    directory/trunk/apacheds-server-unit/   (props changed)
    directory/trunk/ntp-protocol/pom.xml
    directory/trunk/ntp-protocol/xdocs/navigation.xml
    directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/catalog/GetCatalog.java
    directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/chain/impl/ContextBase.java
    directory/trunk/protocol-common/src/test/java/org/apache/protocol/common/kerberos/KerberosTest.java

Propchange: directory/trunk/apacheds-server-unit/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Dec 30 02:05:36 2005
@@ -1,4 +1,7 @@
 target
+.wtpmodules
+.deployables
+.settings
 server-work
 *.iml
 *.log

Added: directory/trunk/apacheds-server-unit/pom.xml
URL: http://svn.apache.org/viewcvs/directory/trunk/apacheds-server-unit/pom.xml?rev=360058&view=auto
==============================================================================
--- directory/trunk/apacheds-server-unit/pom.xml (added)
+++ directory/trunk/apacheds-server-unit/pom.xml Fri Dec 30 02:05:36 2005
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.ldap.server</groupId>
+    <artifactId>build</artifactId>
+    <version>0.9.4-SNAPSHOT</version>
+  </parent>
+  <artifactId>org.apache.ldap.server.unit</artifactId>
+  <name>apacheds-server-unit</name>
+  <packaging>jar</packaging>  
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+    </dependency>  
+    <dependency>
+      <groupId>org.apache.ldap.server</groupId>
+      <artifactId>org.apache.ldap.server</artifactId>
+      <version>0.9.4-SNAPSHOT</version>
+    </dependency>  
+    <dependency>
+      <groupId>org.apache.ldap.server</groupId>
+      <artifactId>org.apache.ldap.server.core.unit</artifactId>
+      <version>0.9.4-SNAPSHOT</version>
+    </dependency>  
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.4</source>
+          <target>1.4</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+

Modified: directory/trunk/ntp-protocol/pom.xml
URL: http://svn.apache.org/viewcvs/directory/trunk/ntp-protocol/pom.xml?rev=360058&r1=360057&r2=360058&view=diff
==============================================================================
--- directory/trunk/ntp-protocol/pom.xml (original)
+++ directory/trunk/ntp-protocol/pom.xml Fri Dec 30 02:05:36 2005
@@ -13,6 +13,11 @@
   <packaging>jar</packaging>  
   <dependencies>
     <dependency>
+      <groupId>org.apache.mina</groupId>
+      <artifactId>org.apache.mina</artifactId>
+      <version>0.9.1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
       <groupId>org.apache.directory</groupId>
       <artifactId>org.apache.directory.protocol.common</artifactId>
       <version>0.7.1-SNAPSHOT</version>

Modified: directory/trunk/ntp-protocol/xdocs/navigation.xml
URL: http://svn.apache.org/viewcvs/directory/trunk/ntp-protocol/xdocs/navigation.xml?rev=360058&r1=360057&r2=360058&view=diff
==============================================================================
--- directory/trunk/ntp-protocol/xdocs/navigation.xml (original)
+++ directory/trunk/ntp-protocol/xdocs/navigation.xml Fri Dec 30 02:05:36 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<projsect>
+<project>
   <title>NTP Provider</title>
   <body>
     <links>

Modified: directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/catalog/GetCatalog.java
URL: http://svn.apache.org/viewcvs/directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/catalog/GetCatalog.java?rev=360058&r1=360057&r2=360058&view=diff
==============================================================================
--- directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/catalog/GetCatalog.java
(original)
+++ directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/catalog/GetCatalog.java
Fri Dec 30 02:05:36 2005
@@ -38,6 +38,7 @@
  */
 public class GetCatalog implements ContextOperation
 {
+    private static final long serialVersionUID = -6657995003127926278L;
     private static final String ENTRY = "apacheCatalogEntry";
     private static final String ENTRY_NAME = "apacheCatalogEntryName";
     private static final String ENTRY_BASEDN = "apacheCatalogEntryBaseDn";

Modified: directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/chain/impl/ContextBase.java
URL: http://svn.apache.org/viewcvs/directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/chain/impl/ContextBase.java?rev=360058&r1=360057&r2=360058&view=diff
==============================================================================
--- directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/chain/impl/ContextBase.java
(original)
+++ directory/trunk/protocol-common/src/main/java/org/apache/protocol/common/chain/impl/ContextBase.java
Fri Dec 30 02:05:36 2005
@@ -26,7 +26,6 @@
 import java.util.Iterator;
 import java.util.Map;
 import java.util.Set;
-import java.util.Map.Entry;
 
 import org.apache.protocol.common.chain.Context;
 
@@ -50,6 +49,8 @@
 public class ContextBase extends HashMap implements Context
 {
     // ------------------------------------------------------------ Constructors
+
+    private static final long serialVersionUID = 5536081240350960868L;
 
     /**
      * Default, no argument constructor.

Modified: directory/trunk/protocol-common/src/test/java/org/apache/protocol/common/kerberos/KerberosTest.java
URL: http://svn.apache.org/viewcvs/directory/trunk/protocol-common/src/test/java/org/apache/protocol/common/kerberos/KerberosTest.java?rev=360058&r1=360057&r2=360058&view=diff
==============================================================================
--- directory/trunk/protocol-common/src/test/java/org/apache/protocol/common/kerberos/KerberosTest.java
(original)
+++ directory/trunk/protocol-common/src/test/java/org/apache/protocol/common/kerberos/KerberosTest.java
Fri Dec 30 02:05:36 2005
@@ -18,8 +18,6 @@
 package org.apache.protocol.common.kerberos;
 
 import javax.naming.Context;
-import javax.naming.Name;
-import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
 import javax.naming.directory.Attribute;
 import javax.naming.directory.Attributes;
@@ -56,13 +54,8 @@
         env.put( Context.PROVIDER_URL, "dc=example,dc=com" );
         DirContext ctx = (DirContext) factory.getInitialContext( env );
 
-        String[] attrIDs = { "krb5PrincipalName" };
-
         Attributes matchAttrs = new BasicAttributes( true );
-
         matchAttrs.put( new BasicAttribute( "krb5PrincipalName", "kadmin/changepw@EXAMPLE.COM"
) );
-
-        NamingEnumeration answer = ctx.search( "ou=users", matchAttrs, attrIDs );
 
         Attributes attributes = ctx.getAttributes( "ou=users" );
         System.out.println( attributes );



Mime
View raw message