equal
deleted
inserted
replaced
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 = |