< prev index next >
test/jdk/sun/security/krb5/auto/ReplayCacheTestProc.java
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 87,106 ****
uid = jdk.internal.misc.VM.geteuid();
// Where should the rcache be saved. KRB5RCACHEDIR is not
// recognized on Solaris (might be supported on Solaris 12),
// and directory name is different when launched by root.
// See manpage krb5envvar(5) on KRB5RCNAME.
- if (System.getProperty("os.name").startsWith("SunOS")) {
- if (uid == 0) {
- cwd = "/var/krb5/rcache/root/";
- } else {
- cwd = "/var/krb5/rcache/";
- }
- } else {
cwd = System.getProperty("user.dir");
}
- }
private static MessageDigest md5, sha256;
static {
try {
--- 87,98 ----
< prev index next >