jdk/test/sun/security/krb5/auto/ReplayCacheExpunge.java
changeset 18542 7b1fa08a804e
parent 18536 092411ced388
child 30820 0d4717a011d3
equal deleted inserted replaced
18541:a974731db859 18542:7b1fa08a804e
    39     static final String client = "dummy@REALM";
    39     static final String client = "dummy@REALM";
    40     static final String server = "server/localhost@REALM";
    40     static final String server = "server/localhost@REALM";
    41     static final Random rand = new Random();
    41     static final Random rand = new Random();
    42 
    42 
    43     public static void main(String[] args) throws Exception {
    43     public static void main(String[] args) throws Exception {
       
    44         // Make sure clockskew is default value
       
    45         System.setProperty("java.security.krb5.conf", "nothing");
       
    46 
    44         int count = Integer.parseInt(args[0]);
    47         int count = Integer.parseInt(args[0]);
    45         ReplayCache cache = ReplayCache.getInstance("dfl:./");
    48         ReplayCache cache = ReplayCache.getInstance("dfl:./");
    46         AuthTimeWithHash a1 =
    49         AuthTimeWithHash a1 =
    47                 new AuthTimeWithHash(client, server, time(-400), 0, hash("1"));
    50                 new AuthTimeWithHash(client, server, time(-400), 0, hash("1"));
    48         AuthTimeWithHash a2 =
    51         AuthTimeWithHash a2 =