Code review request: 7194472: FileKeyTab.java test fails on Windows
Weijun Wang
weijun.wang at oracle.com
Tue Aug 28 05:32:59 UTC 2012
Sorry, there is a problem in the test of my recent fix at
http://hg.openjdk.java.net/jdk8/tl/jdk/rev/61ddc8ce7f3b
Here is a webrev
http://cr.openjdk.java.net/~weijun/7194472/webrev.00/
"/" is treated as a universal File.separatorChar in JAAS config files.
Noreg-self.
Thanks
Max
-------- Original Message --------
7194472: FileKeyTab.java test fails on Windows
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7194472
Product: java
Category: java
Subcategory: classes_security
=== *Description*
============================================================
The newly added FileKeyTab.java test fails on Windows because it creates
a file
server {
com.sun.security.auth.module.Krb5LoginModule required
principal="server/host.rabbit.hole"
debug=true useKeyTab=true
keyTab="file:C:\tmp\RR1\W\scratch\localkdc.ktab"
storeKey=true;
};
Here the keyTab line is illegal before JAAS config file is parsed with a
StreamTokenizer and "\" is treated as a escape char.
More information about the security-dev
mailing list