directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r440767 - in /directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind: BindRequestMessage.java ConcreteBindRequest.java
Date Wed, 06 Sep 2006 16:26:05 GMT
Author: elecharny
Date: Wed Sep  6 09:26:02 2006
New Revision: 440767

URL: http://svn.apache.org/viewvc?view=rev&rev=440767
Log:
Renamed BindRequestMessage to ConcreteBindRequest

Added:
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/ConcreteBindRequest.java
      - copied, changed from r440692, directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java
Removed:
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java

Copied: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/ConcreteBindRequest.java
(from r440692, directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.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/ConcreteBindRequest.java?view=diff&rev=440767&p1=directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java&r1=440692&p2=directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/ConcreteBindRequest.java&r2=440767
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequestMessage.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/ConcreteBindRequest.java
Wed Sep  6 09:26:02 2006
@@ -47,7 +47,7 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class BindRequestMessage extends AbstractRequest implements BindRequest
+public class ConcreteBindRequest extends AbstractRequest implements BindRequest
 {
     /**
      * Declares the Serial Version Uid.
@@ -65,14 +65,14 @@
     private Name name;
 
     /** The authentication used to bind the user */
-    private AuthenticationOperation authentication;
+    private Authentication authentication;
 
     /**
-     * Creates a new BindRequest object.
+     * Creates a new ConcreteBindRequest object.
      * 
      * @param the message identifier
      */
-    public BindRequestMessage( int messageId )
+    public ConcreteBindRequest( int messageId )
     {
         super( messageId );
     }
@@ -82,7 +82,7 @@
      * 
      * @return The user authentication
      */
-    public AuthenticationOperation getAuthentication()
+    public Authentication getAuthentication()
     {
         return authentication;
     }
@@ -92,7 +92,7 @@
      * 
      * @param authentication The user authentication
      */
-    public void setAuthentication( AuthenticationOperation authentication )
+    public void setAuthentication( Authentication authentication )
     {
         this.authentication = authentication;
     }
@@ -169,14 +169,14 @@
         {
             sb.append( "        Name : '" ).append( name.toString() ).append( "'\n" );
 
-            if ( authentication instanceof SimpleAuthentication )
+            if ( authentication instanceof ConcreteSimpleAuthentication )
             {
                 sb.append( "        Simple authentication : '" ).append(
-                    ( ( SimpleAuthentication ) authentication ).toString() ).append( "'\n"
);
+                    ( ( ConcreteSimpleAuthentication ) authentication ).toString() ).append(
"'\n" );
             }
             else
             {
-                sb.append( ( ( SaslCredentials ) authentication ).toString() );
+                sb.append( ( ( ConcreteSaslCredentials ) authentication ).toString() );
             }
         }
 



Mime
View raw message