directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject directory-kerby git commit: [DIRKRB-259]-Fix the wrong fileds in the KrbFastReq class.
Date Tue, 26 May 2015 02:56:39 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/master a2128ad79 -> f6c9665dc


[DIRKRB-259]-Fix the wrong fileds in the KrbFastReq class.


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/f6c9665d
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/f6c9665d
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/f6c9665d

Branch: refs/heads/master
Commit: f6c9665dc43cce20b4dd06275bbbb66347ac3ac1
Parents: a2128ad
Author: plusplusjiajia <jiajia.li@intel.com>
Authored: Tue May 26 11:01:13 2015 +0800
Committer: plusplusjiajia <jiajia.li@intel.com>
Committed: Tue May 26 11:01:13 2015 +0800

----------------------------------------------------------------------
 .../kerberos/kerb/spec/fast/KrbFastReq.java     | 24 ++++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/f6c9665d/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/spec/fast/KrbFastReq.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/spec/fast/KrbFastReq.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/spec/fast/KrbFastReq.java
index 54c2be2..5aee39e 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/spec/fast/KrbFastReq.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/spec/fast/KrbFastReq.java
@@ -21,7 +21,7 @@ package org.apache.kerby.kerberos.kerb.spec.fast;
 
 import org.apache.kerby.asn1.type.Asn1FieldInfo;
 import org.apache.kerby.kerberos.kerb.spec.KrbSequenceType;
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptedData;
+import org.apache.kerby.kerberos.kerb.spec.kdc.KdcReqBody;
 import org.apache.kerby.kerberos.kerb.spec.pa.PaData;
 
 /**
@@ -43,21 +43,21 @@ public class KrbFastReq extends KrbSequenceType {
     private static int REQ_BODY = 2;
 
     static Asn1FieldInfo[] fieldInfos = new Asn1FieldInfo[] {
-            new Asn1FieldInfo(FAST_OPTIONS, KrbFastArmor.class),
+            new Asn1FieldInfo(FAST_OPTIONS, FastOptions.class),
             new Asn1FieldInfo(PADATA, PaData.class),
-            new Asn1FieldInfo(REQ_BODY, EncryptedData.class),
+            new Asn1FieldInfo(REQ_BODY, KdcReqBody.class),
     };
 
     public KrbFastReq() {
         super(fieldInfos);
     }
 
-    public KrbFastArmor getArmor() {
-        return getFieldAs(FAST_OPTIONS, KrbFastArmor.class);
+    public FastOptions getFastOptions() {
+        return getFieldAs(FAST_OPTIONS, FastOptions.class);
     }
 
-    public void setArmor(KrbFastArmor armor) {
-        setFieldAs(FAST_OPTIONS, armor);
+    public void setFastOptions(FastOptions fastOptions) {
+        setFieldAs(FAST_OPTIONS, fastOptions);
     }
 
     public PaData getPaData() {
@@ -68,11 +68,11 @@ public class KrbFastReq extends KrbSequenceType {
         setFieldAs(PADATA, paData);
     }
 
-    public EncryptedData getEncFastReq() {
-        return getFieldAs(REQ_BODY, EncryptedData.class);
+    public KdcReqBody getKdcReqBody() {
+        return getFieldAs(REQ_BODY, KdcReqBody.class);
     }
 
-    public void setEncFastReq(EncryptedData encFastReq) {
-        setFieldAs(REQ_BODY, encFastReq);
+    public void setKdcReqBody(KdcReqBody kdcReqBody) {
+        setFieldAs(REQ_BODY, kdcReqBody);
     }
-}
+}
\ No newline at end of file


Mime
View raw message