KerberosTixDateTest.java revision 267
265N/A * Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. 265N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 265N/A * This code is free software; you can redistribute it and/or modify it 265N/A * under the terms of the GNU General Public License version 2 only, as 265N/A * published by the Free Software Foundation. 265N/A * This code is distributed in the hope that it will be useful, but WITHOUT 265N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 265N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 265N/A * version 2 for more details (a copy is included in the LICENSE file that 265N/A * accompanied this code). 265N/A * You should have received a copy of the GNU General Public License version 265N/A * 2 along with this work; if not, write to the Free Software Foundation, 265N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 265N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 265N/A * CA 95054 USA or visit www.sun.com if you need additional information or 265N/A * @summary test the immutability of the Date fields in KerberosTicket class. 267N/A * @ignore Must set up KDC and setup Kerberos configuration file 265N/A // Serialized KerberosTicket from JDK6 (encoded in BASE64) 265N/A // Note: the KerberosTicket object is created using the same values as 265N/A // the KerberosTicket 't' in main(). Deserialization should succeed 265N/A // and the deserialized object should equal to 't'. 265N/A"rO0ABXNyACtqYXZheC5zZWN1cml0eS5hdXRoLmtlcmJlcm9zLktlcmJlcm9zVGlja2V0ZqGBbXB3" +
265N/A"w7sCAApbAAxhc24xRW5jb2Rpbmd0AAJbQkwACGF1dGhUaW1ldAAQTGphdmEvdXRpbC9EYXRlO0wA" +
265N/A"BmNsaWVudHQAMExqYXZheC9zZWN1cml0eS9hdXRoL2tlcmJlcm9zL0tlcmJlcm9zUHJpbmNpcGFs" +
265N/A"O1sAD2NsaWVudEFkZHJlc3Nlc3QAF1tMamF2YS9uZXQvSW5ldEFkZHJlc3M7TAAHZW5kVGltZXEA" +
265N/A"fgACWwAFZmxhZ3N0AAJbWkwACXJlbmV3VGlsbHEAfgACTAAGc2VydmVycQB+AANMAApzZXNzaW9u" +
265N/A"S2V5dAAmTGphdmF4L3NlY3VyaXR5L2F1dGgva2VyYmVyb3MvS2V5SW1wbDtMAAlzdGFydFRpbWVx" +
265N/A"AH4AAnhwdXIAAltCrPMX+AYIVOACAAB4cAAAAARhc24xc3IADmphdmEudXRpbC5EYXRlaGqBAUtZ" +
265N/A"dBkDAAB4cHcIAAAAAAC8YU54c3IALmphdmF4LnNlY3VyaXR5LmF1dGgua2VyYmVyb3MuS2VyYmVy" +
265N/A"b3NQcmluY2lwYWyZp31dDx4zKQMAAHhwdXEAfgAIAAAAEzARoAMCAQGhCjAIGwZjbGllbnR1cQB+" +
265N/A"AAgAAAAVGxNKTEFCUy5TRkJBWS5TVU4uQ09NeHBxAH4AC3VyAAJbWlePIDkUuF3iAgAAeHAAAAAg" +
265N/A"AAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABxAH4AC3NxAH4ADHVxAH4ACAAAABMwEaAD" +
265N/A"AgEBoQowCBsGc2VydmVydXEAfgAIAAAAFRsTSkxBQlMuU0ZCQVkuU1VOLkNPTXhzcgAkamF2YXgu" +
265N/A"c2VjdXJpdHkuYXV0aC5rZXJiZXJvcy5LZXlJbXBskoOG6DyvS9cDAAB4cHVxAH4ACAAAABUwE6AD" +
265N/A "AgEBoQwECnNlc3Npb25LZXl4cQB+AAs=";
265N/A // test the constructor