directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r191344 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslCredentials.java
Date Sun, 19 Jun 2005 14:42:07 GMT
Author: elecharny
Date: Sun Jun 19 07:42:06 2005
New Revision: 191344

URL: http://svn.apache.org/viewcvs?rev=191344&view=rev
Log:
Renamed from SaslAuthorization to SaslCredentials

Added:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslCredentials.java
      - copied, changed from r189643, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslCredentials.java
(from r189643, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslCredentials.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslCredentials.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java&r1=189643&r2=191344&rev=191344&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslCredentials.java
Sun Jun 19 07:42:06 2005
@@ -17,7 +17,7 @@
 package org.apache.asn1.ldap.pojo;
 
 import org.apache.asn1.Asn1Object;
-import org.apache.asn1.util.MutableString;
+import org.apache.asn1.ldap.codec.primitives.LdapString;
 
 
 /**
@@ -25,7 +25,7 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class SaslAuthentication extends Asn1Object
+public class SaslCredentials extends Asn1Object
 {
     //~ Instance fields ----------------------------------------------------------------------------
 
@@ -35,7 +35,7 @@
      * SKEY,
      * EXTERNAL
      **/
-    private MutableString mechanism;
+    private LdapString mechanism;
 
     /** optional credentials of the user */
     private byte[] credentials;
@@ -71,7 +71,7 @@
     public String getMechanism()
     {
 
-        return mechanism.toString();
+        return (mechanism == null ? null : mechanism.toString());
     }
 
     /**
@@ -79,7 +79,7 @@
      *
      * @param mechanism The mechanism
      */
-    public void setMechanism( MutableString mechanism )
+    public void setMechanism( LdapString mechanism )
     {
         this.mechanism = mechanism;
     }



Mime
View raw message