Details
-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b55
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018916 | 7u45 | Weijun Wang | P4 | Closed | Fixed | b01 |
JDK-2229034 | 7u40 | Weijun Wang | P4 | Closed | Fixed | b06 |
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.
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.
Attachments
Issue Links
- backported by
-
JDK-2229034 FileKeyTab.java test fails on Windows
-
- Closed
-
-
JDK-8018916 FileKeyTab.java test fails on Windows
-
- Closed
-
- relates to
-
JDK-7152121 Krb5LoginModule no longer handles keyTabNames with "file:" prefix
-
- Closed
-