directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1042747 - /directory/apacheds/branches/apacheds-kerberos-codec-2.0/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java
Date Mon, 06 Dec 2010 17:49:52 GMT
Author: elecharny
Date: Mon Dec  6 17:49:52 2010
New Revision: 1042747

URL: http://svn.apache.org/viewvc?rev=1042747&view=rev
Log:
Injected streams into the decoder containers

Modified:
    directory/apacheds/branches/apacheds-kerberos-codec-2.0/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java

Modified: directory/apacheds/branches/apacheds-kerberos-codec-2.0/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-kerberos-codec-2.0/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java?rev=1042747&r1=1042746&r2=1042747&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-kerberos-codec-2.0/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java
(original)
+++ directory/apacheds/branches/apacheds-kerberos-codec-2.0/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java
Mon Dec  6 17:49:52 2010
@@ -216,7 +216,7 @@ public class KerberosDecoder extends Pro
         stream.flip();
         
         // Allocate a EncApRepPart Container
-        Asn1Container encApRepPartContainer = new EncApRepPartContainer();
+        Asn1Container encApRepPartContainer = new EncApRepPartContainer( stream );
 
         Asn1Decoder kerberosDecoder = new Asn1Decoder();
 
@@ -251,7 +251,7 @@ public class KerberosDecoder extends Pro
         stream.flip();
         
         // Allocate a EncKdcRepPart Container
-        Asn1Container encKdcRepPartContainer = new EncKdcRepPartContainer();
+        Asn1Container encKdcRepPartContainer = new EncKdcRepPartContainer( stream );
 
         Asn1Decoder kerberosDecoder = new Asn1Decoder();
 
@@ -286,7 +286,7 @@ public class KerberosDecoder extends Pro
         stream.flip();
         
         // Allocate a EncKrbPrivPart Container
-        Asn1Container encKrbPrivPartContainer = new EncKrbPrivPartContainer();
+        Asn1Container encKrbPrivPartContainer = new EncKrbPrivPartContainer( stream );
 
         Asn1Decoder kerberosDecoder = new Asn1Decoder();
 
@@ -321,7 +321,7 @@ public class KerberosDecoder extends Pro
         stream.flip();
         
         // Allocate a EncTicketPart Container
-        Asn1Container encTicketPartContainer = new EncTicketPartContainer();
+        Asn1Container encTicketPartContainer = new EncTicketPartContainer( stream );
 
         Asn1Decoder kerberosDecoder = new Asn1Decoder();
 
@@ -426,7 +426,7 @@ public class KerberosDecoder extends Pro
         stream.flip();
         
         // Allocate a Ticket Container
-        Asn1Container ticketContainer = new TicketContainer();
+        Asn1Container ticketContainer = new TicketContainer( stream );
 
         Asn1Decoder kerberosDecoder = new Asn1Decoder();
 
@@ -461,7 +461,7 @@ public class KerberosDecoder extends Pro
         stream.flip();
         
         // Allocate a Authenticator Container
-        Asn1Container authenticatorContainer = new AuthenticatorContainer();
+        Asn1Container authenticatorContainer = new AuthenticatorContainer( stream );
 
         Asn1Decoder kerberosDecoder = new Asn1Decoder();
 



Mime
View raw message