directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1039120 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/actions/EncKdcRepPartInit.java
Date Thu, 25 Nov 2010 18:01:36 GMT
Author: elecharny
Date: Thu Nov 25 18:01:36 2010
New Revision: 1039120

URL: http://svn.apache.org/viewvc?rev=1039120&view=rev
Log:
Temporarily make it a EncAsRepPart message

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/actions/EncKdcRepPartInit.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/actions/EncKdcRepPartInit.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/actions/EncKdcRepPartInit.java?rev=1039120&r1=1039119&r2=1039120&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/actions/EncKdcRepPartInit.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/actions/EncKdcRepPartInit.java
Thu Nov 25 18:01:36 2010
@@ -25,6 +25,7 @@ import org.apache.directory.shared.asn1.
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
 import org.apache.directory.shared.asn1.codec.DecoderException;
 import org.apache.directory.shared.i18n.I18n;
+import org.apache.directory.shared.kerberos.KerberosMessageType;
 import org.apache.directory.shared.kerberos.codec.EncKdcRepPart.EncKdcRepPartContainer;
 import org.apache.directory.shared.kerberos.components.EncKdcRepPart;
 import org.slf4j.Logger;
@@ -72,7 +73,7 @@ public class EncKdcRepPartInit extends G
             throw new DecoderException( I18n.err( I18n.ERR_04067 ) );
         }
         
-        EncKdcRepPart encKdcRepPart = new EncKdcRepPart();
+        EncKdcRepPart encKdcRepPart = new EncKdcRepPart( KerberosMessageType.ENC_AS_REP_PART
);
         encKdcRepPartContainer.setEncKdcRepPart( encKdcRepPart );
         
         if ( IS_DEBUG )



Mime
View raw message