< prev index next >

test/jdk/sun/security/krb5/auto/ReplayCacheTestProc.java

Print this page
rev 59107 : imported patch security

*** 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 >