directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r191724 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponse.java
Date Tue, 21 Jun 2005 20:47:54 GMT
Author: elecharny
Date: Tue Jun 21 13:47:53 2005
New Revision: 191724

URL: http://svn.apache.org/viewcvs?rev=191724&view=rev
Log:
Replacing byte[] by OctetString

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponse.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponse.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponse.java?rev=191724&r1=191723&r2=191724&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponse.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponse.java
Tue Jun 21 13:47:53 2005
@@ -16,6 +16,8 @@
  */
 package org.apache.asn1.ldap.pojo;
 
+import org.apache.asn1.primitives.OctetString;
+
 /**
  * A BindResponse Message. Its syntax is :
  *   BindResponse ::= messageId LdapResult [serverSaslCreds]
@@ -28,7 +30,7 @@
     //~ Instance fields ----------------------------------------------------------------------------
 
     /** The server credentials */
-    private byte[] serverSaslCreds;
+    private OctetString serverSaslCreds;
 
     //~ Constructors -------------------------------------------------------------------------------
 
@@ -45,7 +47,7 @@
     /**
      * @return Returns the serverSaslCreds.
      */
-    public byte[] getServerSaslCreds()
+    public OctetString getServerSaslCreds()
     {
         return serverSaslCreds;
     }
@@ -54,7 +56,7 @@
 	 * Set the server sasl credentials
      * @param serverSaslCreds The serverSaslCreds to set.
      */
-    public void setServerSaslCreds( byte[] serverSaslCreds )
+    public void setServerSaslCreds( OctetString serverSaslCreds )
     {
         this.serverSaslCreds = serverSaslCreds;
     }



Mime
View raw message