directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r440692 - in /directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src: main/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/ main/java/org/apache/directory/shared/ldap/messages/bind/ test/java/org/apache/directory/shared/...
Date Wed, 06 Sep 2006 11:30:36 GMT
Author: elecharny
Date: Wed Sep  6 04:30:35 2006
New Revision: 440692

URL: http://svn.apache.org/viewvc?view=rev&rev=440692
Log:
Renamed the BindRequestOperation to BindRequest.
Now, BindRequest is the interfacte, and BindRequestMessage is the implementation. BidnRequestOperation
has been removed.

Added:
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
      - copied, changed from r440656, directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestOperation.java
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java
      - copied, changed from r440656, directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
Modified:
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestAsn1Ber.java
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestDecorator.java
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java

Modified: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestAsn1Ber.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestAsn1Ber.java?view=diff&rev=440692&r1=440691&r2=440692
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestAsn1Ber.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestAsn1Ber.java
Wed Sep  6 04:30:35 2006
@@ -23,7 +23,7 @@
 import org.apache.directory.shared.asn1.ber.Encoder;
 import org.apache.directory.shared.asn1.ber.tlv.Length;
 import org.apache.directory.shared.ldap.messages.bind.BindRequestDecorator;
-import org.apache.directory.shared.ldap.messages.bind.BindRequestOperation;
+import org.apache.directory.shared.ldap.messages.bind.BindRequest;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -52,7 +52,7 @@
      *
      * @param bindRequest The bindRequest object to decorate
      */
-    public BindRequestAsn1Ber( BindRequestOperation bindRequest )
+    public BindRequestAsn1Ber( BindRequest bindRequest )
     {
         super( bindRequest );
     }

Copied: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
(from r440656, directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestOperation.java)
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java?view=diff&rev=440692&p1=directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestOperation.java&r1=440656&p2=directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java&r2=440692
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestOperation.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
Wed Sep  6 04:30:35 2006
@@ -30,7 +30,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  *
  */
-public interface BindRequestOperation extends Request {
+public interface BindRequest extends Request {
     /**
      * Get the user authentication
      * 

Modified: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestDecorator.java?view=diff&rev=440692&r1=440691&r2=440692
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestDecorator.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestDecorator.java
Wed Sep  6 04:30:35 2006
@@ -32,17 +32,17 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  *
  */
-public abstract class BindRequestDecorator implements BindRequestOperation 
+public abstract class BindRequestDecorator implements BindRequest 
 {
     /** A reference to the decorated object */
-	private BindRequestOperation bindRequest;
+	private BindRequest bindRequest;
 	
     /**
      * Creates a new BindRequestDecorator object.
      * 
      * @param the associated BindRequest object
      */
-    public BindRequestDecorator( BindRequestOperation bindRequest )
+    public BindRequestDecorator( BindRequest bindRequest )
     {
         this.bindRequest = bindRequest;
     }
@@ -51,7 +51,7 @@
      * Get the associated decorated object 
      * @return The associated BindRequest object
      */
-	public BindRequestOperation getBindRequest() 
+	public BindRequest getBindRequest() 
 	{
 		return bindRequest;
 	}

Copied: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java
(from r440656, directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java)
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java?view=diff&rev=440692&p1=directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java&r1=440656&p2=directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java&r2=440692
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java
Wed Sep  6 04:30:35 2006
@@ -47,7 +47,7 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class BindRequest extends AbstractRequest implements BindRequestOperation
+public class BindRequestMessage extends AbstractRequest implements BindRequest
 {
     /**
      * Declares the Serial Version Uid.
@@ -72,7 +72,7 @@
      * 
      * @param the message identifier
      */
-    public BindRequest( int messageId )
+    public BindRequestMessage( int messageId )
     {
         super( messageId );
     }

Modified: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java?view=diff&rev=440692&r1=440691&r2=440692
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java
Wed Sep  6 04:30:35 2006
@@ -20,8 +20,8 @@
 package org.apache.directory.shared.ldap.codec.asn1ber.messages.bind;
 
 import org.apache.directory.shared.ldap.codec.asn1ber.messages.bind.BindRequestAsn1Ber;
+import org.apache.directory.shared.ldap.messages.bind.BindRequestMessage;
 import org.apache.directory.shared.ldap.messages.bind.BindRequest;
-import org.apache.directory.shared.ldap.messages.bind.BindRequestOperation;
 import org.apache.directory.shared.ldap.messages.bind.SimpleAuthentication;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.utils.StringTools;
@@ -44,7 +44,7 @@
      */
     public void testBindRequestDecoratorSimple() 
     {
-        BindRequestOperation bindRequest = new BindRequest( 1 );
+        BindRequest bindRequest = new BindRequestMessage( 1 );
         
         bindRequest.setName( new LdapDN() );
         bindRequest.setVersion( 3 );



Mime
View raw message