-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extended Distinction between IBM JRE and Others #168
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,20 +49,26 @@ public AppConfigurationEntry[] getAppConfigurationEntry(String s) { | |
options.put("debug", "true"); | ||
} | ||
|
||
if (ticketCache) { | ||
options.put("useTicketCache", "true"); | ||
} else { | ||
options.put("useTicketCache", "false"); | ||
} | ||
|
||
options.put("refreshKrb5Config", "true"); | ||
|
||
if (JavaVendor.isIBM()) { | ||
options.put("credsType", "initiator"); | ||
|
||
if (ticketCache) { | ||
options.put("useDefaultCcache", "true"); | ||
} else { | ||
options.put("useDefaultCcache", "false"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you mean to write two c's there? According to this document the property is called |
||
} | ||
} else { | ||
options.put("client", "true"); | ||
options.put("useKeyTab", "false"); | ||
options.put("doNotPrompt", "false"); | ||
|
||
if (ticketCache) { | ||
options.put("useTicketCache", "true"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This code can be simplified as follows:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the suggestion, that's a good idea. |
||
} else { | ||
options.put("useTicketCache", "false"); | ||
} | ||
} | ||
|
||
return new AppConfigurationEntry[]{new AppConfigurationEntry(JavaVendor.getKrb5LoginModuleName(), | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to write two c's there? According to this document the property is called
useDefaultCache
, with a single c instead of Cc.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I did mean
useDefaultCcache
. We found the distinction in this IBM document.