equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
281 throw new Exception("Session timeout test failed for session: " |
281 throw new Exception("Session timeout test failed for session: " |
282 + sess + " lifetime: " + lifetime); |
282 + sess + " lifetime: " + lifetime); |
283 } |
283 } |
284 System.out.print(sess + " " + lifetime); |
284 System.out.print(sess + " " + lifetime); |
285 if (((timeout == 0) || (lifetime < timeout)) && |
285 if (((timeout == 0) || (lifetime < timeout)) && |
286 (isTimedout == "YES")) { |
286 (isTimedout.equals("YES"))) { |
287 isTimedout = "Invalidated before timeout"; |
287 isTimedout = "Invalidated before timeout"; |
288 } |
288 } |
289 |
289 |
290 System.out.println(" " + isTimedout); |
290 System.out.println(" " + isTimedout); |
291 } |
291 } |