directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r165697 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java
Date Mon, 02 May 2005 21:21:48 GMT
Author: elecharny
Date: Mon May  2 14:21:47 2005
New Revision: 165697

URL: http://svn.apache.org/viewcvs?rev=165697&view=rev
Log:
Added the mechTokenExpectedLength to this class

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java?rev=165697&r1=165696&r2=165697&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java
Mon May  2 14:21:47 2005
@@ -71,6 +71,9 @@
 
     /** The mechanism tokens */
     private OctetString mechToken;
+    
+    /** The mechanism token expected length */
+    private int mechTokenExpectedLength;
 
     /** The mechanism list MIC */
     private OctetString mechListMIC;
@@ -94,6 +97,7 @@
         negTokenInitSequenceExpectedLength = 0;
         mechTypesExpectedLength = 0;
         mechTypeListExpectedLength = 0;
+        mechTokenExpectedLength = 0;
         
         // Sets the flag to false.
         delegFlag = false;
@@ -140,6 +144,7 @@
         negTokenInitSequenceExpectedLength = 0;
         mechTypesExpectedLength = 0;
         mechTypeListExpectedLength = 0;
+        mechTokenExpectedLength = 0;
         
         // Resets the flag to false.
         delegFlag = false;
@@ -418,5 +423,19 @@
      */
     public void setMechTypeListExpectedLength(int mechTypeListExpectedLength) {
         this.mechTypeListExpectedLength = mechTypeListExpectedLength;
+    }
+    
+    /**
+     * @return Returns the mechTokenExpectedLength.
+     */
+    public int getMechTokenExpectedLength() {
+        return mechTokenExpectedLength;
+    }
+    
+    /**
+     * @param mechTokenExpectedLength The mechTokenExpectedLength to set.
+     */
+    public void setMechTokenExpectedLength(int mechTokenExpectedLength) {
+        this.mechTokenExpectedLength = mechTokenExpectedLength;
     }
 }



Mime
View raw message