directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dran...@apache.org
Subject [2/2] directory-kerby git commit: Removed some test codes and resources from other project as we have our own tests now
Date Thu, 11 Jun 2015 13:19:12 GMT
Removed some test codes and resources from other project as we have our own tests now


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

Branch: refs/heads/master
Commit: dcf267db39b0c4fed105e4cc854d85f189389300
Parents: d7f1cc6
Author: Drankye <drankye@gmail.com>
Authored: Thu Jun 11 21:18:43 2015 +0800
Committer: Drankye <drankye@gmail.com>
Committed: Thu Jun 11 21:18:43 2015 +0800

----------------------------------------------------------------------
 .../kerby/kerberos/kerb/codec/CodecTest.java    |  45 +++++
 .../kerberos/kerb/codec/CodecTestUtil.java      |  33 ++++
 .../apache/kerby/kerberos/kerb/codec/README.txt |   5 -
 .../kerberos/kerb/codec/TestAsRepCodec.java     |  72 ++++++++
 .../kerberos/kerb/codec/TestAsReqCodec.java     | 100 +++++++++++
 .../kerberos/kerb/codec/TestTgsRepCodec.java    |  68 ++++++++
 .../kerberos/kerb/codec/TestTgsReqCodec.java    |  92 ++++++++++
 .../kerb/codec/kerberos/KerberosApRequest.java  |  51 ------
 .../kerb/codec/kerberos/KerberosConstants.java  |  44 -----
 .../codec/kerberos/KerberosCredentials.java     |  54 ------
 .../kerb/codec/kerberos/KerberosTicket.java     |  86 ---------
 .../kerb/codec/kerberos/KerberosToken.java      |  60 -------
 .../kerb/codec/spnego/SpnegoConstants.java      |  31 ----
 .../kerb/codec/spnego/SpnegoInitToken.java      |  53 ------
 .../kerb/codec/spnego/SpnegoTargToken.java      |  41 -----
 .../kerberos/kerb/codec/spnego/SpnegoToken.java |  67 -------
 .../kerberos/kerb/codec/test/CodecTest.java     |  45 -----
 .../kerberos/kerb/codec/test/CodecTestUtil.java |  33 ----
 .../kerb/codec/test/TestAsRepCodec.java         |  72 --------
 .../kerb/codec/test/TestAsReqCodec.java         | 100 -----------
 .../kerberos/kerb/codec/test/TestKerberos.java  | 171 ------------------
 .../kerberos/kerb/codec/test/TestSpnego.java    | 173 -------------------
 .../kerb/codec/test/TestTgsRepCodec.java        |  68 --------
 .../kerb/codec/test/TestTgsReqCodec.java        |  92 ----------
 .../src/test/resources/aes128-kerberos-data     | Bin 1712 -> 0 bytes
 .../src/test/resources/aes128-key-data          |   1 -
 .../src/test/resources/aes128-spnego-data       | Bin 1778 -> 0 bytes
 .../src/test/resources/aes256-kerberos-data     | Bin 1744 -> 0 bytes
 .../src/test/resources/aes256-key-data          | Bin 32 -> 0 bytes
 .../src/test/resources/aes256-spnego-data       | Bin 1810 -> 0 bytes
 .../src/test/resources/des-kerberos-data        | Bin 1773 -> 0 bytes
 .../src/test/resources/des-key-data             |   1 -
 .../src/test/resources/des-pac-data             | Bin 1072 -> 0 bytes
 .../src/test/resources/des-spnego-data          | Bin 1839 -> 0 bytes
 .../src/test/resources/exceptions.properties    |  55 ------
 .../src/test/resources/rc4-kerberos-data        | Bin 1735 -> 0 bytes
 .../src/test/resources/rc4-key-data             |   1 -
 .../src/test/resources/rc4-pac-data             | Bin 1048 -> 0 bytes
 .../src/test/resources/rc4-spnego-data          | Bin 1801 -> 0 bytes
 39 files changed, 410 insertions(+), 1304 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/CodecTest.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/CodecTest.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/CodecTest.java
new file mode 100644
index 0000000..da6c7ce
--- /dev/null
+++ b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/CodecTest.java
@@ -0,0 +1,45 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.kerby.kerberos.kerb.codec;
+
+import org.apache.kerby.kerberos.kerb.KrbException;
+import org.apache.kerby.kerberos.kerb.KrbCodec;
+import org.apache.kerby.kerberos.kerb.spec.base.CheckSum;
+import org.apache.kerby.kerberos.kerb.spec.base.CheckSumType;
+import org.junit.Test;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+public class CodecTest {
+
+    @Test
+    public void testCodec() throws KrbException {
+        CheckSum mcs = new CheckSum();
+        mcs.setCksumtype(CheckSumType.CRC32);
+        mcs.setChecksum(new byte[] {0x10});
+        byte[] bytes = KrbCodec.encode(mcs);
+        assertThat(bytes).isNotNull();
+
+        CheckSum restored = KrbCodec.decode(bytes, CheckSum.class);
+        assertThat(restored).isNotNull();
+        assertThat(restored.getCksumtype()).isEqualTo(mcs.getCksumtype());
+        assertThat(mcs.getChecksum()).isEqualTo(restored.getChecksum());
+    }
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/CodecTestUtil.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/CodecTestUtil.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/CodecTestUtil.java
new file mode 100644
index 0000000..e2fb3cf
--- /dev/null
+++ b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/CodecTestUtil.java
@@ -0,0 +1,33 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ *
+ */
+package org.apache.kerby.kerberos.kerb.codec;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+public class CodecTestUtil {
+    /*package*/ 
+    static byte[] readBinaryFile(String path) throws IOException {
+        InputStream is = CodecTestUtil.class.getResourceAsStream(path);
+        byte[] bytes = new byte[is.available()];
+        is.read(bytes);
+        return bytes;
+    }
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/README.txt
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/README.txt b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/README.txt
deleted file mode 100644
index f1e0a3f..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/README.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-This project is simple for integration testing purpose. It's inspired by and originated from JaasLaunge.
-Eventually I will replace most of the codes by mine or get the granting permission of the author.
-
-http://jaaslounge.sourceforge.net/
-

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestAsRepCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestAsRepCodec.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestAsRepCodec.java
new file mode 100644
index 0000000..0a8e189
--- /dev/null
+++ b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestAsRepCodec.java
@@ -0,0 +1,72 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ *
+ */
+package org.apache.kerby.kerberos.kerb.codec;
+
+import org.apache.kerby.kerberos.kerb.spec.base.KrbMessageType;
+import org.apache.kerby.kerberos.kerb.spec.base.NameType;
+import org.apache.kerby.kerberos.kerb.spec.base.PrincipalName;
+import org.apache.kerby.kerberos.kerb.spec.kdc.AsRep;
+import org.apache.kerby.kerberos.kerb.spec.ticket.Ticket;
+import org.junit.Test;
+
+import java.io.IOException;
+import java.nio.ByteBuffer;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+/**
+ * Test AsRep message using a real 'correct' network packet captured from MS-AD to detective programming errors
+ * and compatibility issues particularly regarding Kerberos crypto.
+ */
+public class TestAsRepCodec {
+
+    @Test
+    public void test() throws IOException {
+        byte[] bytes = CodecTestUtil.readBinaryFile("/asrep.token");
+        ByteBuffer asRepToken = ByteBuffer.wrap(bytes);
+
+        AsRep asRep = new AsRep();
+        asRep.decode(asRepToken);
+
+        assertThat(asRep.getPvno()).isEqualTo(5);
+        assertThat(asRep.getMsgType()).isEqualTo(KrbMessageType.AS_REP);
+        assertThat(asRep.getCrealm()).isEqualTo("DENYDC.COM");
+
+        PrincipalName cName = asRep.getCname();
+        assertThat(cName.getNameType()).isEqualTo(NameType.NT_PRINCIPAL);
+        assertThat(cName.getNameStrings()).hasSize(1).contains("u5");
+
+        Ticket ticket = asRep.getTicket();
+        assertThat(ticket.getTktvno()).isEqualTo(5);
+        assertThat(ticket.getRealm()).isEqualTo("DENYDC.COM");
+        PrincipalName sName = ticket.getSname();
+        assertThat(sName.getNameType()).isEqualTo(NameType.NT_SRV_INST);
+        assertThat(sName.getNameStrings()).hasSize(2)
+                .contains("krbtgt", "DENYDC.COM");
+        //FIXME
+        //EncTicketPart encTicketPart = ticket.getEncPart();
+        //assertThat(encTicketPart.getKey().getKvno()).isEqualTo(2);
+        //assertThat(encTicketPart.getKey().getKeyType().getValue()).isEqualTo(0x0017);
+
+        //EncKdcRepPart encKdcRepPart = asRep.getEncPart();
+        //assertThat(encKdcRepPart.getKey().getKeyType().getValue()).isEqualTo(0x0017);
+        //assertThat(encKdcRepPart.getKey().getKvno()).isEqualTo(7);
+    }
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestAsReqCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestAsReqCodec.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestAsReqCodec.java
new file mode 100644
index 0000000..a589dfa
--- /dev/null
+++ b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestAsReqCodec.java
@@ -0,0 +1,100 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ *
+ */
+package org.apache.kerby.kerberos.kerb.codec;
+
+import org.apache.kerby.kerberos.kerb.spec.base.*;
+import org.apache.kerby.kerberos.kerb.spec.kdc.AsReq;
+import org.apache.kerby.kerberos.kerb.spec.kdc.KdcReqBody;
+import org.apache.kerby.kerberos.kerb.spec.pa.PaData;
+import org.apache.kerby.kerberos.kerb.spec.pa.PaDataEntry;
+import org.apache.kerby.kerberos.kerb.spec.pa.PaDataType;
+import org.junit.Test;
+
+import java.io.IOException;
+import java.nio.ByteBuffer;
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.Arrays;
+import java.util.Date;
+import java.util.List;
+import java.util.SimpleTimeZone;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+/**
+ * Test AsReq message using a real 'correct' network packet captured from MS-AD to detective programming errors
+ * and compatibility issues particularly regarding Kerberos crypto.
+ */
+public class TestAsReqCodec {
+
+    @Test
+    public void test() throws IOException, ParseException {
+        byte[] bytes = CodecTestUtil.readBinaryFile("/asreq.token");
+        ByteBuffer asReqToken = ByteBuffer.wrap(bytes);
+
+        AsReq asReq = new AsReq();
+        asReq.decode(asReqToken);
+
+        assertThat(asReq.getPvno()).isEqualTo(5);
+        assertThat(asReq.getMsgType()).isEqualTo(KrbMessageType.AS_REQ);
+
+        PaData paData = asReq.getPaData();
+        PaDataEntry encTimestampEntry = paData.findEntry(PaDataType.ENC_TIMESTAMP);
+        assertThat(encTimestampEntry.getPaDataType()).isEqualTo(PaDataType.ENC_TIMESTAMP);
+        assertThat(encTimestampEntry.getPaDataValue()).isEqualTo(Arrays.copyOfRange(bytes, 33, 96));
+        PaDataEntry pacRequestEntry = paData.findEntry(PaDataType.PAC_REQUEST);
+        assertThat(pacRequestEntry.getPaDataType()).isEqualTo(PaDataType.PAC_REQUEST);
+        assertThat(pacRequestEntry.getPaDataValue()).isEqualTo(Arrays.copyOfRange(bytes, 108, 115));
+
+        KdcReqBody body = asReq.getReqBody();
+        assertThat(body.getKdcOptions().getPadding()).isEqualTo(0);
+        assertThat(body.getKdcOptions().getValue()).isEqualTo(Arrays.copyOfRange(bytes, 126, 130));
+        PrincipalName cName = body.getCname();
+        assertThat(cName.getNameType()).isEqualTo(NameType.NT_PRINCIPAL);
+        assertThat(cName.getName()).isEqualTo("des");
+        assertThat(body.getRealm()).isEqualTo("DENYDC");
+        PrincipalName sName = body.getSname();
+        assertThat(sName.getNameType()).isEqualTo(NameType.NT_SRV_INST);
+        assertThat(sName.getNameStrings()).hasSize(2)
+                .contains("krbtgt", "DENYDC");
+
+        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
+        sdf.setTimeZone(new SimpleTimeZone(0, "Z"));
+        Date date = sdf.parse("20370913024805");
+        assertThat(body.getTill().getTime()).isEqualTo(date.getTime());
+        assertThat(body.getRtime().getTime()).isEqualTo(date.getTime());
+
+        assertThat(body.getNonce()).isEqualTo(197451134);
+
+        List<EncryptionType> types = body.getEtypes();
+        assertThat(types).hasSize(7);
+        assertThat(types.get(0).getValue()).isEqualTo(0x0017);
+        //assertThat(types.get(1).getValue()).isEqualTo(0xff7b);//FIXME
+        //assertThat(types.get(2).getValue()).isEqualTo(0x0080);//FIXME
+        assertThat(types.get(3).getValue()).isEqualTo(0x0003);
+        assertThat(types.get(4).getValue()).isEqualTo(0x0001);
+        assertThat(types.get(5).getValue()).isEqualTo(0x0018);
+        //assertThat(types.get(6).getValue()).isEqualTo(0xff79);//FIXME
+
+        List<HostAddress> hostAddress = body.getAddresses().getElements();
+        assertThat(hostAddress).hasSize(1);
+        assertThat(hostAddress.get(0).getAddrType()).isEqualTo(HostAddrType.ADDRTYPE_NETBIOS);
+    }
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestTgsRepCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestTgsRepCodec.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestTgsRepCodec.java
new file mode 100644
index 0000000..0c3f803
--- /dev/null
+++ b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestTgsRepCodec.java
@@ -0,0 +1,68 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ *
+ */
+package org.apache.kerby.kerberos.kerb.codec;
+
+import org.apache.kerby.kerberos.kerb.spec.base.KrbMessageType;
+import org.apache.kerby.kerberos.kerb.spec.base.NameType;
+import org.apache.kerby.kerberos.kerb.spec.base.PrincipalName;
+import org.apache.kerby.kerberos.kerb.spec.kdc.TgsRep;
+import org.apache.kerby.kerberos.kerb.spec.ticket.Ticket;
+import org.junit.Test;
+
+import java.io.IOException;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+/**
+ * Test TgsRep message using a real 'correct' network packet captured from MS-AD to detective programming errors
+ * and compatibility issues particularly regarding Kerberos crypto.
+ */
+public class TestTgsRepCodec {
+
+    @Test
+    public void test() throws IOException {
+        byte[] bytes = CodecTestUtil.readBinaryFile("/tgsrep.token");
+        TgsRep tgsRep = new TgsRep();
+        tgsRep.decode(bytes);
+
+        assertThat(tgsRep.getPvno()).isEqualTo(5);
+        assertThat(tgsRep.getMsgType()).isEqualTo(KrbMessageType.TGS_REP);
+        assertThat(tgsRep.getCrealm()).isEqualTo("DENYDC.COM");
+
+        PrincipalName cName = tgsRep.getCname();
+        assertThat(cName.getNameType()).isEqualTo(NameType.NT_PRINCIPAL);
+        assertThat(cName.getNameStrings()).hasSize(1).contains("des");
+
+        Ticket ticket = tgsRep.getTicket();
+        assertThat(ticket.getTktvno()).isEqualTo(5);
+        assertThat(ticket.getRealm()).isEqualTo("DENYDC.COM");
+        PrincipalName sName = ticket.getSname();
+        assertThat(sName.getNameType()).isEqualTo(NameType.NT_SRV_HST);
+        assertThat(sName.getNameStrings()).hasSize(2)
+                .contains("host", "xp1.denydc.com");
+        //FIXME
+        //EncTicketPart encTicketPart = ticket.getEncPart();
+        //assertThat(encTicketPart.getKey().getKeyType().getValue()).isEqualTo(23);
+        //assertThat(encTicketPart.getKey().getKvno()).isEqualTo(2);
+
+        //EncKdcRepPart encKdcRepPart = tgsRep.getEncPart();
+        //assertThat(encKdcRepPart.getKey().getKeyType().getValue()).isEqualTo(3);
+    }
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestTgsReqCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestTgsReqCodec.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestTgsReqCodec.java
new file mode 100644
index 0000000..de75355
--- /dev/null
+++ b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/TestTgsReqCodec.java
@@ -0,0 +1,92 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ *
+ */
+package org.apache.kerby.kerberos.kerb.codec;
+
+import org.apache.kerby.kerberos.kerb.spec.base.EncryptionType;
+import org.apache.kerby.kerberos.kerb.spec.base.KrbMessageType;
+import org.apache.kerby.kerberos.kerb.spec.base.NameType;
+import org.apache.kerby.kerberos.kerb.spec.base.PrincipalName;
+import org.apache.kerby.kerberos.kerb.spec.kdc.KdcReqBody;
+import org.apache.kerby.kerberos.kerb.spec.kdc.TgsReq;
+import org.apache.kerby.kerberos.kerb.spec.pa.PaData;
+import org.apache.kerby.kerberos.kerb.spec.pa.PaDataEntry;
+import org.apache.kerby.kerberos.kerb.spec.pa.PaDataType;
+import org.junit.Test;
+
+import java.io.IOException;
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.List;
+import java.util.SimpleTimeZone;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+/**
+ * Test TgsReq message using a real 'correct' network packet captured from MS-AD to detective programming errors
+ * and compatibility issues particularly regarding Kerberos crypto.
+ */
+public class TestTgsReqCodec {
+
+    @Test
+    public void test() throws IOException, ParseException {
+        byte[] bytes = CodecTestUtil.readBinaryFile("/tgsreq.token");
+        TgsReq tgsReq = new TgsReq();
+        tgsReq.decode(bytes);
+
+        assertThat(tgsReq.getPvno()).isEqualTo(5);
+        assertThat(tgsReq.getMsgType()).isEqualTo(KrbMessageType.TGS_REQ);
+
+        PaData paData = tgsReq.getPaData();
+        assertThat(paData.getElements()).hasSize(1);
+        PaDataEntry entry = paData.getElements().iterator().next();
+        assertThat(entry.getPaDataType()).isEqualTo(PaDataType.TGS_REQ);
+
+        //request body
+        KdcReqBody body = tgsReq.getReqBody();
+        assertThat(body.getKdcOptions().getPadding()).isEqualTo(0);
+        byte[] kdcOptionsValue = {64, (byte) 128, 0, 0};
+        assertThat(body.getKdcOptions().getValue()).isEqualTo(kdcOptionsValue);
+
+        assertThat(body.getRealm()).isEqualTo("DENYDC.COM");
+
+        PrincipalName sName = body.getSname();
+        assertThat(sName.getNameType()).isEqualTo(NameType.NT_SRV_HST);
+        assertThat(sName.getNameStrings()).hasSize(2)
+                .contains("host", "xp1.denydc.com");
+
+        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
+        sdf.setTimeZone(new SimpleTimeZone(0, "Z"));
+        Date date = sdf.parse("20370913024805");
+        assertThat(body.getTill().getTime()).isEqualTo(date.getTime());
+
+        assertThat(body.getNonce()).isEqualTo(197296424);
+
+        List<EncryptionType> eTypes = body.getEtypes();
+        assertThat(eTypes).hasSize(7);
+        assertThat(eTypes.get(0).getValue()).isEqualTo(0x0017);
+        //assertThat(eTypes.get(1).getValue()).isEqualTo(-133);//FIXME
+        //assertThat(eTypes.get(2).getValue()).isEqualTo(-128);//FIXME
+        assertThat(eTypes.get(3).getValue()).isEqualTo(0x0003);
+        assertThat(eTypes.get(4).getValue()).isEqualTo(0x0001);
+        assertThat(eTypes.get(5).getValue()).isEqualTo(0x0018);
+        //assertThat(eTypes.get(6).getValue()).isEqualTo(-135);//FIXME
+    }
+}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosApRequest.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosApRequest.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosApRequest.java
deleted file mode 100644
index ad77ddb..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosApRequest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.kerberos;
-
-
-import org.apache.kerby.kerberos.kerb.KrbException;
-import org.apache.kerby.kerberos.kerb.KrbCodec;
-import org.apache.kerby.kerberos.kerb.spec.ap.ApOptions;
-import org.apache.kerby.kerberos.kerb.spec.ap.ApReq;
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptionKey;
-
-import java.io.IOException;
-
-public class KerberosApRequest {
-    private ApReq apReq;
-    private KerberosTicket ticket;
-
-    public KerberosApRequest(byte[] token, EncryptionKey key) throws Exception {
-        if (token.length <= 0) {
-            throw new IOException("kerberos request empty");
-        }
-
-        apReq = KrbCodec.decode(token, ApReq.class);
-        ticket = new KerberosTicket(apReq.getTicket(), apReq.getApOptions(), key);
-    }
-
-    public ApOptions getApOptions() throws KrbException {
-        return apReq.getApOptions();
-    }
-
-    public KerberosTicket getTicket() {
-        return ticket;
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosConstants.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosConstants.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosConstants.java
deleted file mode 100644
index a02cda3..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosConstants.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.kerberos;
-
-public interface KerberosConstants {
-
-    static final String KERBEROS_OID = "1.2.840.113554.1.2.2";
-    static final String KERBEROS_VERSION = "5";
-
-    static final String KERBEROS_AP_REQ = "14";
-    
-    static final int AF_INTERNET = 2;
-    static final int AF_CHANET = 5;
-    static final int AF_XNS = 6;
-    static final int AF_ISO = 7;
-    
-    static final int AUTH_DATA_RELEVANT = 1;
-    static final int AUTH_DATA_PAC = 128;
-
-    static final int DES_ENC_TYPE = 3;
-    static final int RC4_ENC_TYPE = 23;
-    static final String RC4_ALGORITHM = "ARCFOUR";
-    static final String HMAC_ALGORITHM = "HmacMD5";
-    static final int CONFOUNDER_SIZE = 8;
-    static final int CHECKSUM_SIZE = 16;
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosCredentials.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosCredentials.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosCredentials.java
deleted file mode 100644
index be41837..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosCredentials.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.kerberos;
-
-import org.apache.kerby.kerberos.kerb.keytab.Keytab;
-import org.apache.kerby.kerberos.kerb.keytab.KeytabEntry;
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptionKey;
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptionType;
-import org.apache.kerby.kerberos.kerb.spec.base.PrincipalName;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-public class KerberosCredentials {
-
-    private static Keytab keytab;
-
-    private static void init() throws IOException {
-        InputStream kis = KerberosCredentials.class.getResourceAsStream("/server.keytab");
-        keytab = Keytab.loadKeytab(kis);
-    }
-
-    public static EncryptionKey getServerKey(EncryptionType etype) throws IOException {
-        if (keytab == null) {
-            init();
-        }
-
-        for (PrincipalName principal : keytab.getPrincipals()) {
-            for (KeytabEntry entry : keytab.getKeytabEntries(principal)) {
-                if (entry.getKey().getKeyType() == etype) {
-                    return entry.getKey();
-                }
-            }
-        }
-        return null;
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosTicket.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosTicket.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosTicket.java
deleted file mode 100644
index aa94fd0..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosTicket.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.kerberos;
-
-import org.apache.kerby.kerberos.kerb.KrbException;
-import org.apache.kerby.kerberos.kerb.KrbCodec;
-import org.apache.kerby.kerberos.kerb.crypto.EncryptionHandler;
-import org.apache.kerby.kerberos.kerb.spec.ap.ApOptions;
-import org.apache.kerby.kerberos.kerb.spec.ad.AuthorizationData;
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptedData;
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptionKey;
-import org.apache.kerby.kerberos.kerb.spec.base.KeyUsage;
-import org.apache.kerby.kerberos.kerb.spec.ticket.EncTicketPart;
-import org.apache.kerby.kerberos.kerb.spec.ticket.Ticket;
-
-import java.util.Arrays;
-
-public class KerberosTicket {
-    private String serverPrincipalName;
-    private String serverRealm;
-    private Ticket ticket;
-
-    public KerberosTicket(Ticket ticket, ApOptions apOptions, EncryptionKey key)
-            throws Exception {
-        this.ticket = ticket;
-
-        byte[] decrypted = EncryptionHandler.decrypt(
-                ticket.getEncryptedEncPart(), key, KeyUsage.KDC_REP_TICKET);
-
-        EncTicketPart encPart = KrbCodec.decode(decrypted, EncTicketPart.class);
-        ticket.setEncPart(encPart);
-
-        /**
-         * Also test encryption by the way
-         */
-        EncryptedData encrypted = EncryptionHandler.encrypt(
-                decrypted, key, KeyUsage.KDC_REP_TICKET);
-
-        byte[] decrypted2 = EncryptionHandler.decrypt(
-                encrypted, key, KeyUsage.KDC_REP_TICKET);
-        if (!Arrays.equals(decrypted, decrypted2)) {
-            throw new KrbException("Encryption checking failed after decryption");
-        }
-    }
-
-    public String getUserPrincipalName() throws KrbException {
-        return ticket.getEncPart().getCname().getName();
-    }
-
-    public String getUserRealm() throws KrbException {
-        return ticket.getEncPart().getCrealm();
-    }
-
-    public String getServerPrincipalName() throws KrbException {
-        return ticket.getSname().getName();
-    }
-
-    public String getServerRealm() throws KrbException {
-        return ticket.getRealm();
-    }
-
-    public AuthorizationData getAuthorizationData() throws KrbException {
-        return ticket.getEncPart().getAuthorizationData();
-    }
-
-    public Ticket getTicket() {
-        return ticket;
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosToken.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosToken.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosToken.java
deleted file mode 100644
index 96c90b3..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/kerberos/KerberosToken.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.kerberos;
-
-import org.apache.kerby.asn1.Asn1InputBuffer;
-import org.apache.kerby.asn1.type.Asn1Item;
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptionKey;
-
-import java.io.IOException;
-
-public class KerberosToken {
-
-    private KerberosApRequest apRequest;
-
-    public KerberosToken(byte[] token) throws Exception {
-        this(token, null);
-    }
-
-    public KerberosToken(byte[] token, EncryptionKey key) throws Exception {
-
-        if (token.length <= 0) {
-            throw new IOException("kerberos.token.empty");
-        }
-
-        Asn1InputBuffer buffer = new Asn1InputBuffer(token);
-
-        Asn1Item value = (Asn1Item) buffer.read();
-        if(! value.isAppSpecific() && ! value.isConstructed()) {
-            throw new IOException("kerberos.token.malformed");
-        }
-
-        buffer = new Asn1InputBuffer(value.getBodyContent());
-        buffer.skipNext();
-
-        buffer.skipBytes(2);
-
-        apRequest = new KerberosApRequest(buffer.readAllLeftBytes(), key);
-    }
-
-    public KerberosApRequest getApRequest() {
-        return apRequest;
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoConstants.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoConstants.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoConstants.java
deleted file mode 100644
index 9820a7e..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoConstants.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.spnego;
-
-public interface SpnegoConstants {
-
-    static final String SPNEGO_MECHANISM = "1.3.6.1.5.5.2";
-    static final String KERBEROS_MECHANISM = "1.2.840.113554.1.2.2";
-    static final String LEGACY_KERBEROS_MECHANISM = "1.2.840.48018.1.2.2";
-    static final String NTLMSSP_MECHANISM = "1.3.6.1.4.1.311.2.2.10";
-
-    static final String SPNEGO_OID = SPNEGO_MECHANISM;
-
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoInitToken.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoInitToken.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoInitToken.java
deleted file mode 100644
index 3e661ff..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoInitToken.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.spnego;
-
-import java.io.IOException;
-
-public class SpnegoInitToken extends SpnegoToken {
-
-    public static final int DELEGATION = 0x40;
-    public static final int MUTUAL_AUTHENTICATION = 0x20;
-    public static final int REPLAY_DETECTION = 0x10;
-    public static final int SEQUENCE_CHECKING = 0x08;
-    public static final int ANONYMITY = 0x04;
-    public static final int CONFIDENTIALITY = 0x02;
-    public static final int INTEGRITY = 0x01;
-
-    private String[] mechanisms;
-    private int contextFlags;
-
-    public SpnegoInitToken(byte[] token) throws IOException {
-
-    }
-
-    public int getContextFlags() {
-        return contextFlags;
-    }
-
-    public boolean getContextFlag(int flag) {
-        return (getContextFlags() & flag) == flag;
-    }
-
-    public String[] getMechanisms() {
-        return mechanisms;
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoTargToken.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoTargToken.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoTargToken.java
deleted file mode 100644
index b830d8b..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoTargToken.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.spnego;
-
-import java.io.IOException;
-
-public class SpnegoTargToken extends SpnegoToken {
-
-    public static final int UNSPECIFIED_RESULT = -1;
-    public static final int ACCEPT_COMPLETED = 0;
-    public static final int ACCEPT_INCOMPLETE = 1;
-    public static final int REJECTED = 2;
-
-    private int result = UNSPECIFIED_RESULT;
-
-    public SpnegoTargToken(byte[] token) throws IOException {
-
-    }
-
-    public int getResult() {
-        return result;
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoToken.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoToken.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoToken.java
deleted file mode 100644
index 6e61dc1..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/spnego/SpnegoToken.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.spnego;
-
-import java.io.IOException;
-
-public abstract class SpnegoToken {
-
-    // Default max size as 65K
-    public static int TOKEN_MAX_SIZE = 66560;
-
-    protected byte[] mechanismToken;
-    protected byte[] mechanismList;
-    protected String mechanism;
-
-    public static SpnegoToken parse(byte[] token) throws IOException {
-        SpnegoToken spnegoToken = null;
-
-        if (token.length <= 0) {
-            throw new IOException("spnego.token.empty");
-        }
-
-        switch (token[0]) {
-        case (byte)0x60:
-            spnegoToken = new SpnegoInitToken(token);
-            break;
-        case (byte)0xa1:
-            spnegoToken = new SpnegoTargToken(token);
-            break;
-        default:
-            spnegoToken = null;
-            throw new IOException("spnego.token.invalid");
-        }
-
-        return spnegoToken;
-    }
-
-    public byte[] getMechanismToken() {
-        return mechanismToken;
-    }
-
-    public byte[] getMechanismList() {
-        return mechanismList;
-    }
-
-    public String getMechanism() {
-        return mechanism;
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/CodecTest.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/CodecTest.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/CodecTest.java
deleted file mode 100644
index 5854588..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/CodecTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.test;
-
-import org.apache.kerby.kerberos.kerb.KrbException;
-import org.apache.kerby.kerberos.kerb.KrbCodec;
-import org.apache.kerby.kerberos.kerb.spec.base.CheckSum;
-import org.apache.kerby.kerberos.kerb.spec.base.CheckSumType;
-import org.junit.Test;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-public class CodecTest {
-
-    @Test
-    public void testCodec() throws KrbException {
-        CheckSum mcs = new CheckSum();
-        mcs.setCksumtype(CheckSumType.CRC32);
-        mcs.setChecksum(new byte[] {0x10});
-        byte[] bytes = KrbCodec.encode(mcs);
-        assertThat(bytes).isNotNull();
-
-        CheckSum restored = KrbCodec.decode(bytes, CheckSum.class);
-        assertThat(restored).isNotNull();
-        assertThat(restored.getCksumtype()).isEqualTo(mcs.getCksumtype());
-        assertThat(mcs.getChecksum()).isEqualTo(restored.getChecksum());
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/CodecTestUtil.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/CodecTestUtil.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/CodecTestUtil.java
deleted file mode 100644
index 2657093..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/CodecTestUtil.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- *
- */
-package org.apache.kerby.kerberos.kerb.codec.test;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-public class CodecTestUtil {
-    /*package*/ 
-    static byte[] readBinaryFile(String path) throws IOException {
-        InputStream is = CodecTestUtil.class.getResourceAsStream(path);
-        byte[] bytes = new byte[is.available()];
-        is.read(bytes);
-        return bytes;
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestAsRepCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestAsRepCodec.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestAsRepCodec.java
deleted file mode 100644
index c0473c9..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestAsRepCodec.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- *
- */
-package org.apache.kerby.kerberos.kerb.codec.test;
-
-import org.apache.kerby.kerberos.kerb.spec.base.KrbMessageType;
-import org.apache.kerby.kerberos.kerb.spec.base.NameType;
-import org.apache.kerby.kerberos.kerb.spec.base.PrincipalName;
-import org.apache.kerby.kerberos.kerb.spec.kdc.AsRep;
-import org.apache.kerby.kerberos.kerb.spec.ticket.Ticket;
-import org.junit.Test;
-
-import java.io.IOException;
-import java.nio.ByteBuffer;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-/**
- * Test AsRep message using a real 'correct' network packet captured from MS-AD to detective programming errors
- * and compatibility issues particularly regarding Kerberos crypto.
- */
-public class TestAsRepCodec {
-
-    @Test
-    public void test() throws IOException {
-        byte[] bytes = CodecTestUtil.readBinaryFile("/asrep.token");
-        ByteBuffer asRepToken = ByteBuffer.wrap(bytes);
-
-        AsRep asRep = new AsRep();
-        asRep.decode(asRepToken);
-
-        assertThat(asRep.getPvno()).isEqualTo(5);
-        assertThat(asRep.getMsgType()).isEqualTo(KrbMessageType.AS_REP);
-        assertThat(asRep.getCrealm()).isEqualTo("DENYDC.COM");
-
-        PrincipalName cName = asRep.getCname();
-        assertThat(cName.getNameType()).isEqualTo(NameType.NT_PRINCIPAL);
-        assertThat(cName.getNameStrings()).hasSize(1).contains("u5");
-
-        Ticket ticket = asRep.getTicket();
-        assertThat(ticket.getTktvno()).isEqualTo(5);
-        assertThat(ticket.getRealm()).isEqualTo("DENYDC.COM");
-        PrincipalName sName = ticket.getSname();
-        assertThat(sName.getNameType()).isEqualTo(NameType.NT_SRV_INST);
-        assertThat(sName.getNameStrings()).hasSize(2)
-                .contains("krbtgt", "DENYDC.COM");
-        //FIXME
-        //EncTicketPart encTicketPart = ticket.getEncPart();
-        //assertThat(encTicketPart.getKey().getKvno()).isEqualTo(2);
-        //assertThat(encTicketPart.getKey().getKeyType().getValue()).isEqualTo(0x0017);
-
-        //EncKdcRepPart encKdcRepPart = asRep.getEncPart();
-        //assertThat(encKdcRepPart.getKey().getKeyType().getValue()).isEqualTo(0x0017);
-        //assertThat(encKdcRepPart.getKey().getKvno()).isEqualTo(7);
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestAsReqCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestAsReqCodec.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestAsReqCodec.java
deleted file mode 100644
index dc3d719..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestAsReqCodec.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- *
- */
-package org.apache.kerby.kerberos.kerb.codec.test;
-
-import org.apache.kerby.kerberos.kerb.spec.base.*;
-import org.apache.kerby.kerberos.kerb.spec.kdc.AsReq;
-import org.apache.kerby.kerberos.kerb.spec.kdc.KdcReqBody;
-import org.apache.kerby.kerberos.kerb.spec.pa.PaData;
-import org.apache.kerby.kerberos.kerb.spec.pa.PaDataEntry;
-import org.apache.kerby.kerberos.kerb.spec.pa.PaDataType;
-import org.junit.Test;
-
-import java.io.IOException;
-import java.nio.ByteBuffer;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Arrays;
-import java.util.Date;
-import java.util.List;
-import java.util.SimpleTimeZone;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-/**
- * Test AsReq message using a real 'correct' network packet captured from MS-AD to detective programming errors
- * and compatibility issues particularly regarding Kerberos crypto.
- */
-public class TestAsReqCodec {
-
-    @Test
-    public void test() throws IOException, ParseException {
-        byte[] bytes = CodecTestUtil.readBinaryFile("/asreq.token");
-        ByteBuffer asReqToken = ByteBuffer.wrap(bytes);
-
-        AsReq asReq = new AsReq();
-        asReq.decode(asReqToken);
-
-        assertThat(asReq.getPvno()).isEqualTo(5);
-        assertThat(asReq.getMsgType()).isEqualTo(KrbMessageType.AS_REQ);
-
-        PaData paData = asReq.getPaData();
-        PaDataEntry encTimestampEntry = paData.findEntry(PaDataType.ENC_TIMESTAMP);
-        assertThat(encTimestampEntry.getPaDataType()).isEqualTo(PaDataType.ENC_TIMESTAMP);
-        assertThat(encTimestampEntry.getPaDataValue()).isEqualTo(Arrays.copyOfRange(bytes, 33, 96));
-        PaDataEntry pacRequestEntry = paData.findEntry(PaDataType.PAC_REQUEST);
-        assertThat(pacRequestEntry.getPaDataType()).isEqualTo(PaDataType.PAC_REQUEST);
-        assertThat(pacRequestEntry.getPaDataValue()).isEqualTo(Arrays.copyOfRange(bytes, 108, 115));
-
-        KdcReqBody body = asReq.getReqBody();
-        assertThat(body.getKdcOptions().getPadding()).isEqualTo(0);
-        assertThat(body.getKdcOptions().getValue()).isEqualTo(Arrays.copyOfRange(bytes, 126, 130));
-        PrincipalName cName = body.getCname();
-        assertThat(cName.getNameType()).isEqualTo(NameType.NT_PRINCIPAL);
-        assertThat(cName.getName()).isEqualTo("des");
-        assertThat(body.getRealm()).isEqualTo("DENYDC");
-        PrincipalName sName = body.getSname();
-        assertThat(sName.getNameType()).isEqualTo(NameType.NT_SRV_INST);
-        assertThat(sName.getNameStrings()).hasSize(2)
-                .contains("krbtgt", "DENYDC");
-
-        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
-        sdf.setTimeZone(new SimpleTimeZone(0, "Z"));
-        Date date = sdf.parse("20370913024805");
-        assertThat(body.getTill().getTime()).isEqualTo(date.getTime());
-        assertThat(body.getRtime().getTime()).isEqualTo(date.getTime());
-
-        assertThat(body.getNonce()).isEqualTo(197451134);
-
-        List<EncryptionType> types = body.getEtypes();
-        assertThat(types).hasSize(7);
-        assertThat(types.get(0).getValue()).isEqualTo(0x0017);
-        //assertThat(types.get(1).getValue()).isEqualTo(0xff7b);//FIXME
-        //assertThat(types.get(2).getValue()).isEqualTo(0x0080);//FIXME
-        assertThat(types.get(3).getValue()).isEqualTo(0x0003);
-        assertThat(types.get(4).getValue()).isEqualTo(0x0001);
-        assertThat(types.get(5).getValue()).isEqualTo(0x0018);
-        //assertThat(types.get(6).getValue()).isEqualTo(0xff79);//FIXME
-
-        List<HostAddress> hostAddress = body.getAddresses().getElements();
-        assertThat(hostAddress).hasSize(1);
-        assertThat(hostAddress.get(0).getAddrType()).isEqualTo(HostAddrType.ADDRTYPE_NETBIOS);
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestKerberos.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestKerberos.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestKerberos.java
deleted file mode 100644
index 1bcd264..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestKerberos.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.test;
-
-import org.apache.kerby.kerberos.kerb.codec.kerberos.KerberosTicket;
-import org.apache.kerby.kerberos.kerb.codec.kerberos.KerberosToken;
-import org.apache.kerby.kerberos.kerb.crypto.EncryptionHandler;
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptionKey;
-import org.junit.Before;
-import org.junit.Test;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import static org.assertj.core.api.Assertions.assertThat;
-import static org.assertj.core.api.Assertions.fail;
-
-public class TestKerberos {
-
-    private byte[] rc4Token;
-    private byte[] desToken;
-    private byte[] aes128Token;
-    private byte[] aes256Token;
-    private EncryptionKey rc4Key;
-    private EncryptionKey desKey;
-    private EncryptionKey aes128Key;
-    private EncryptionKey aes256Key;
-
-    @Before
-    public void setUp() throws IOException {
-
-        InputStream file = this.getClass().getClassLoader().getResourceAsStream("rc4-kerberos-data");
-        rc4Token = new byte[file.available()];
-        file.read(rc4Token);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("des-kerberos-data");
-        desToken = new byte[file.available()];
-        file.read(desToken);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("aes128-kerberos-data");
-        aes128Token = new byte[file.available()];
-        file.read(aes128Token);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("aes256-kerberos-data");
-        aes256Token = new byte[file.available()];
-        file.read(aes256Token);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("rc4-key-data");
-        byte[] keyData = new byte[file.available()];
-        file.read(keyData);
-        rc4Key = new EncryptionKey(23, keyData, 2);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("des-key-data");
-        keyData = new byte[file.available()];
-        file.read(keyData);
-        desKey = new EncryptionKey(3, keyData, 2);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("aes128-key-data");
-        keyData = new byte[file.available()];
-        file.read(keyData);
-        aes128Key = new EncryptionKey(17, keyData, 2);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("aes256-key-data");
-        keyData = new byte[file.available()];
-        file.read(keyData);
-        aes256Key = new EncryptionKey(18, keyData, 2);
-        file.close();
-    }
-
-    @Test
-    public void testRc4Ticket() throws Exception {
-        KerberosToken token = new KerberosToken(rc4Token, rc4Key);
-
-        assertThat(token).isNotNull();
-        assertThat(token.getApRequest()).isNotNull();
-
-        KerberosTicket ticket = token.getApRequest().getTicket();
-        assertThat(ticket).isNotNull();
-        assertThat(ticket.getServerPrincipalName()).isEqualTo("HTTP/server.test.domain.com");
-        assertThat(ticket.getServerRealm()).isEqualTo("DOMAIN.COM");
-        assertThat(ticket.getUserPrincipalName()).isEqualTo("user.test");
-        assertThat(ticket.getUserRealm()).isEqualTo("DOMAIN.COM");
-    }
-
-    //@Test
-    public void testDesTicket() throws Exception {
-        KerberosToken token = new KerberosToken(desToken, desKey);
-
-        assertThat(token).isNotNull();
-        assertThat(token.getApRequest()).isNotNull();
-
-        KerberosTicket ticket = token.getApRequest().getTicket();
-        assertThat(ticket).isNotNull();
-        assertThat(ticket.getServerPrincipalName()).isEqualTo("HTTP/server.test.domain.com");
-        assertThat(ticket.getServerRealm()).isEqualTo("DOMAIN.COM");
-        assertThat(ticket.getUserPrincipalName()).isEqualTo("user.test@domain.com");
-        assertThat(ticket.getUserRealm()).isEqualTo("DOMAIN.COM");
-    }
-
-    @Test
-    public void testAes128Ticket() throws Exception {
-        KerberosToken token = null;
-        token = new KerberosToken(aes128Token, aes128Key);
-
-        assertThat(token).isNotNull();
-        assertThat(token.getApRequest()).isNotNull();
-
-        KerberosTicket ticket = token.getApRequest().getTicket();
-        assertThat(ticket).isNotNull();
-        assertThat(ticket.getServerPrincipalName()).isEqualTo("HTTP/server.test.domain.com");
-        assertThat(ticket.getServerRealm()).isEqualTo("DOMAIN.COM");
-        assertThat(ticket.getUserPrincipalName()).isEqualTo("user.test");
-        assertThat(ticket.getUserRealm()).isEqualTo("DOMAIN.COM");
-    }
-
-    @Test
-    public void testAes256Ticket() throws Exception {
-        if(!EncryptionHandler.isAES256Enabled()) {
-            return;
-        }
-
-        KerberosToken token = null;
-        token = new KerberosToken(aes256Token, aes256Key);
-
-        assertThat(token).isNotNull();
-        assertThat(token.getApRequest()).isNotNull();
-
-        KerberosTicket ticket = token.getApRequest().getTicket();
-        assertThat(ticket).isNotNull();
-        assertThat(ticket.getServerPrincipalName()).isEqualTo("HTTP/server.test.domain.com");
-        assertThat(ticket.getServerRealm()).isEqualTo("DOMAIN.COM");
-        assertThat(ticket.getUserPrincipalName()).isEqualTo("user.test");
-        assertThat(ticket.getUserRealm()).isEqualTo("DOMAIN.COM");
-    }
-
-    @Test
-    public void testNoMatchingKey() {
-        KerberosToken token = null;
-        try {
-            token = new KerberosToken(rc4Token, desKey);
-            fail("Should have thrown Exception.");
-        } catch(Exception e) {
-            assertThat(e).isNotNull();
-            assertThat(token).isNull();
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestSpnego.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestSpnego.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestSpnego.java
deleted file mode 100644
index 35eed4a..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestSpnego.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *  
- *    http://www.apache.org/licenses/LICENSE-2.0
- *  
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License. 
- *  
- */
-package org.apache.kerby.kerberos.kerb.codec.test;
-
-import org.apache.kerby.kerberos.kerb.codec.spnego.SpnegoConstants;
-import org.apache.kerby.kerberos.kerb.codec.spnego.SpnegoInitToken;
-import org.apache.kerby.kerberos.kerb.codec.spnego.SpnegoToken;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import static org.assertj.core.api.Assertions.assertThat;
-import static org.assertj.core.api.Fail.fail;
-
-public class TestSpnego {
-
-    private byte[] rc4Token;
-    private byte[] desToken;
-    private byte[] aes128Token;
-    private byte[] aes256Token;
-    private byte[] corruptToken;
-
-    //@Before
-    public void setUp() throws IOException {
-
-        InputStream file = this.getClass().getClassLoader().getResourceAsStream("rc4-spnego-data");
-        rc4Token = new byte[file.available()];
-        file.read(rc4Token);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("des-spnego-data");
-        desToken = new byte[file.available()];
-        file.read(desToken);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("aes128-spnego-data");
-        aes128Token = new byte[file.available()];
-        file.read(aes128Token);
-        file.close();
-
-        file = this.getClass().getClassLoader().getResourceAsStream("aes256-spnego-data");
-        aes256Token = new byte[file.available()];
-        file.read(aes256Token);
-        file.close();
-
-        corruptToken = new byte[]{5, 4, 2, 1};
-    }
-
-    //@Test
-    public void testRc4Token() {
-        try {
-            SpnegoToken spnegoToken = SpnegoToken.parse(rc4Token);
-
-            assertThat(spnegoToken).isNotNull();
-            assertThat(spnegoToken instanceof SpnegoInitToken).isTrue();
-            assertThat(spnegoToken.getMechanismToken()).isNotNull();
-            assertThat(spnegoToken.getMechanismToken().length < rc4Token.length).isTrue();
-            assertThat(spnegoToken.getMechanism()).isNotNull();
-            assertThat(spnegoToken.getMechanism()).isEqualTo(SpnegoConstants.LEGACY_KERBEROS_MECHANISM);
-        } catch(IOException e) {
-            e.printStackTrace();
-            fail(e.getMessage());
-        }
-    }
-
-    //@Test
-    public void testDesToken() {
-        try {
-            SpnegoToken spnegoToken = SpnegoToken.parse(desToken);
-
-            assertThat(spnegoToken).isNotNull();
-            assertThat(spnegoToken instanceof SpnegoInitToken).isTrue();
-            assertThat(spnegoToken.getMechanismToken()).isNotNull();
-            assertThat(spnegoToken.getMechanismToken().length < desToken.length).isTrue();
-            assertThat(spnegoToken.getMechanism()).isNotNull();
-            assertThat(spnegoToken.getMechanism()).isEqualTo(SpnegoConstants.LEGACY_KERBEROS_MECHANISM);
-        } catch(IOException e) {
-            e.printStackTrace();
-            fail(e.getMessage());
-        }
-    }
-
-    //@Test
-    public void testAes128Token() {
-        try {
-            SpnegoToken spnegoToken = SpnegoToken.parse(aes128Token);
-
-            assertThat(spnegoToken).isNotNull();
-            assertThat(spnegoToken instanceof SpnegoInitToken).isTrue();
-            assertThat(spnegoToken.getMechanismToken()).isNotNull();
-            assertThat(spnegoToken.getMechanismToken().length < aes128Token.length).isTrue();
-            assertThat(spnegoToken.getMechanism()).isNotNull();
-            assertThat(spnegoToken.getMechanism()).isEqualTo(SpnegoConstants.LEGACY_KERBEROS_MECHANISM);
-        } catch(IOException e) {
-            e.printStackTrace();
-            fail(e.getMessage());
-        }
-    }
-
-    //@Test
-    public void testAes256Token() {
-        try {
-            SpnegoToken spnegoToken = SpnegoToken.parse(aes256Token);
-
-            assertThat(spnegoToken).isNotNull();
-            assertThat(spnegoToken instanceof SpnegoInitToken).isTrue();
-            assertThat(spnegoToken.getMechanismToken()).isNotNull();
-            assertThat(spnegoToken.getMechanismToken().length < aes256Token.length).isTrue();
-            assertThat(spnegoToken.getMechanism()).isNotNull();
-            assertThat(spnegoToken.getMechanism()).isEqualTo(SpnegoConstants.LEGACY_KERBEROS_MECHANISM);
-        } catch(IOException e) {
-            e.printStackTrace();
-            fail(e.getMessage());
-        }
-    }
-
-    //@Test
-    public void testEmptyToken() {
-        SpnegoToken spnegoToken = null;
-        try {
-            spnegoToken = SpnegoToken.parse(new byte[0]);
-            fail("Should have thrown DecodingException.");
-        } catch(IOException e) {
-            assertThat(e).isNotNull();
-            assertThat(spnegoToken).isNull();
-        }
-    }
-
-    //@Test
-    public void testCorruptToken() {
-        SpnegoToken spnegoToken = null;
-        try {
-            spnegoToken = SpnegoToken.parse(corruptToken);
-            fail("Should have thrown DecodingException.");
-        } catch(IOException e) {
-            assertThat(e).isNotNull();
-            assertThat(spnegoToken).isNull();
-        }
-    }
-
-    //@Test
-    public void testNullToken() {
-        SpnegoToken spnegoToken = null;
-        try {
-            spnegoToken = SpnegoToken.parse(null);
-            fail("Should have thrown NullPointerException.");
-        } catch(IOException e) {
-            e.printStackTrace();
-            fail(e.getMessage());
-        } catch(NullPointerException e) {
-            assertThat(e).isNotNull();
-            assertThat(spnegoToken).isNull();
-        }
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestTgsRepCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestTgsRepCodec.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestTgsRepCodec.java
deleted file mode 100644
index b60c9ca..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestTgsRepCodec.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- *
- */
-package org.apache.kerby.kerberos.kerb.codec.test;
-
-import org.apache.kerby.kerberos.kerb.spec.base.KrbMessageType;
-import org.apache.kerby.kerberos.kerb.spec.base.NameType;
-import org.apache.kerby.kerberos.kerb.spec.base.PrincipalName;
-import org.apache.kerby.kerberos.kerb.spec.kdc.TgsRep;
-import org.apache.kerby.kerberos.kerb.spec.ticket.Ticket;
-import org.junit.Test;
-
-import java.io.IOException;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-/**
- * Test TgsRep message using a real 'correct' network packet captured from MS-AD to detective programming errors
- * and compatibility issues particularly regarding Kerberos crypto.
- */
-public class TestTgsRepCodec {
-
-    @Test
-    public void test() throws IOException {
-        byte[] bytes = CodecTestUtil.readBinaryFile("/tgsrep.token");
-        TgsRep tgsRep = new TgsRep();
-        tgsRep.decode(bytes);
-
-        assertThat(tgsRep.getPvno()).isEqualTo(5);
-        assertThat(tgsRep.getMsgType()).isEqualTo(KrbMessageType.TGS_REP);
-        assertThat(tgsRep.getCrealm()).isEqualTo("DENYDC.COM");
-
-        PrincipalName cName = tgsRep.getCname();
-        assertThat(cName.getNameType()).isEqualTo(NameType.NT_PRINCIPAL);
-        assertThat(cName.getNameStrings()).hasSize(1).contains("des");
-
-        Ticket ticket = tgsRep.getTicket();
-        assertThat(ticket.getTktvno()).isEqualTo(5);
-        assertThat(ticket.getRealm()).isEqualTo("DENYDC.COM");
-        PrincipalName sName = ticket.getSname();
-        assertThat(sName.getNameType()).isEqualTo(NameType.NT_SRV_HST);
-        assertThat(sName.getNameStrings()).hasSize(2)
-                .contains("host", "xp1.denydc.com");
-        //FIXME
-        //EncTicketPart encTicketPart = ticket.getEncPart();
-        //assertThat(encTicketPart.getKey().getKeyType().getValue()).isEqualTo(23);
-        //assertThat(encTicketPart.getKey().getKvno()).isEqualTo(2);
-
-        //EncKdcRepPart encKdcRepPart = tgsRep.getEncPart();
-        //assertThat(encKdcRepPart.getKey().getKeyType().getValue()).isEqualTo(3);
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestTgsReqCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestTgsReqCodec.java b/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestTgsReqCodec.java
deleted file mode 100644
index afaeb44..0000000
--- a/kerby-kerb/kerb-core-test/src/test/java/org/apache/kerby/kerberos/kerb/codec/test/TestTgsReqCodec.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- *
- */
-package org.apache.kerby.kerberos.kerb.codec.test;
-
-import org.apache.kerby.kerberos.kerb.spec.base.EncryptionType;
-import org.apache.kerby.kerberos.kerb.spec.base.KrbMessageType;
-import org.apache.kerby.kerberos.kerb.spec.base.NameType;
-import org.apache.kerby.kerberos.kerb.spec.base.PrincipalName;
-import org.apache.kerby.kerberos.kerb.spec.kdc.KdcReqBody;
-import org.apache.kerby.kerberos.kerb.spec.kdc.TgsReq;
-import org.apache.kerby.kerberos.kerb.spec.pa.PaData;
-import org.apache.kerby.kerberos.kerb.spec.pa.PaDataEntry;
-import org.apache.kerby.kerberos.kerb.spec.pa.PaDataType;
-import org.junit.Test;
-
-import java.io.IOException;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.List;
-import java.util.SimpleTimeZone;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-/**
- * Test TgsReq message using a real 'correct' network packet captured from MS-AD to detective programming errors
- * and compatibility issues particularly regarding Kerberos crypto.
- */
-public class TestTgsReqCodec {
-
-    @Test
-    public void test() throws IOException, ParseException {
-        byte[] bytes = CodecTestUtil.readBinaryFile("/tgsreq.token");
-        TgsReq tgsReq = new TgsReq();
-        tgsReq.decode(bytes);
-
-        assertThat(tgsReq.getPvno()).isEqualTo(5);
-        assertThat(tgsReq.getMsgType()).isEqualTo(KrbMessageType.TGS_REQ);
-
-        PaData paData = tgsReq.getPaData();
-        assertThat(paData.getElements()).hasSize(1);
-        PaDataEntry entry = paData.getElements().iterator().next();
-        assertThat(entry.getPaDataType()).isEqualTo(PaDataType.TGS_REQ);
-
-        //request body
-        KdcReqBody body = tgsReq.getReqBody();
-        assertThat(body.getKdcOptions().getPadding()).isEqualTo(0);
-        byte[] kdcOptionsValue = {64, (byte) 128, 0, 0};
-        assertThat(body.getKdcOptions().getValue()).isEqualTo(kdcOptionsValue);
-
-        assertThat(body.getRealm()).isEqualTo("DENYDC.COM");
-
-        PrincipalName sName = body.getSname();
-        assertThat(sName.getNameType()).isEqualTo(NameType.NT_SRV_HST);
-        assertThat(sName.getNameStrings()).hasSize(2)
-                .contains("host", "xp1.denydc.com");
-
-        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
-        sdf.setTimeZone(new SimpleTimeZone(0, "Z"));
-        Date date = sdf.parse("20370913024805");
-        assertThat(body.getTill().getTime()).isEqualTo(date.getTime());
-
-        assertThat(body.getNonce()).isEqualTo(197296424);
-
-        List<EncryptionType> eTypes = body.getEtypes();
-        assertThat(eTypes).hasSize(7);
-        assertThat(eTypes.get(0).getValue()).isEqualTo(0x0017);
-        //assertThat(eTypes.get(1).getValue()).isEqualTo(-133);//FIXME
-        //assertThat(eTypes.get(2).getValue()).isEqualTo(-128);//FIXME
-        assertThat(eTypes.get(3).getValue()).isEqualTo(0x0003);
-        assertThat(eTypes.get(4).getValue()).isEqualTo(0x0001);
-        assertThat(eTypes.get(5).getValue()).isEqualTo(0x0018);
-        //assertThat(eTypes.get(6).getValue()).isEqualTo(-135);//FIXME
-    }
-}

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/aes128-kerberos-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/aes128-kerberos-data b/kerby-kerb/kerb-core-test/src/test/resources/aes128-kerberos-data
deleted file mode 100644
index 7f3b582..0000000
Binary files a/kerby-kerb/kerb-core-test/src/test/resources/aes128-kerberos-data and /dev/null differ

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/aes128-key-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/aes128-key-data b/kerby-kerb/kerb-core-test/src/test/resources/aes128-key-data
deleted file mode 100644
index 4ba2540..0000000
--- a/kerby-kerb/kerb-core-test/src/test/resources/aes128-key-data
+++ /dev/null
@@ -1 +0,0 @@
-����\���U�s�7"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/aes128-spnego-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/aes128-spnego-data b/kerby-kerb/kerb-core-test/src/test/resources/aes128-spnego-data
deleted file mode 100644
index 13c89e6..0000000
Binary files a/kerby-kerb/kerb-core-test/src/test/resources/aes128-spnego-data and /dev/null differ

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/aes256-kerberos-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/aes256-kerberos-data b/kerby-kerb/kerb-core-test/src/test/resources/aes256-kerberos-data
deleted file mode 100644
index b7d539f..0000000
Binary files a/kerby-kerb/kerb-core-test/src/test/resources/aes256-kerberos-data and /dev/null differ

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/aes256-key-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/aes256-key-data b/kerby-kerb/kerb-core-test/src/test/resources/aes256-key-data
deleted file mode 100644
index 24792c1..0000000
Binary files a/kerby-kerb/kerb-core-test/src/test/resources/aes256-key-data and /dev/null differ

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/aes256-spnego-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/aes256-spnego-data b/kerby-kerb/kerb-core-test/src/test/resources/aes256-spnego-data
deleted file mode 100644
index 6a7e55c..0000000
Binary files a/kerby-kerb/kerb-core-test/src/test/resources/aes256-spnego-data and /dev/null differ

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/des-kerberos-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/des-kerberos-data b/kerby-kerb/kerb-core-test/src/test/resources/des-kerberos-data
deleted file mode 100644
index 3db6963..0000000
Binary files a/kerby-kerb/kerb-core-test/src/test/resources/des-kerberos-data and /dev/null differ

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/des-key-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/des-key-data b/kerby-kerb/kerb-core-test/src/test/resources/des-key-data
deleted file mode 100644
index 84a0c50..0000000
--- a/kerby-kerb/kerb-core-test/src/test/resources/des-key-data
+++ /dev/null
@@ -1 +0,0 @@
-��2^�L�
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/des-pac-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/des-pac-data b/kerby-kerb/kerb-core-test/src/test/resources/des-pac-data
deleted file mode 100644
index 7408111..0000000
Binary files a/kerby-kerb/kerb-core-test/src/test/resources/des-pac-data and /dev/null differ

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/dcf267db/kerby-kerb/kerb-core-test/src/test/resources/des-spnego-data
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core-test/src/test/resources/des-spnego-data b/kerby-kerb/kerb-core-test/src/test/resources/des-spnego-data
deleted file mode 100644
index 04a56e8..0000000
Binary files a/kerby-kerb/kerb-core-test/src/test/resources/des-spnego-data and /dev/null differ


Mime
View raw message