Hi Max,
Good point, please see an updated webrev:
http://cr.openjdk.java.net/~asmotrak/8075297/webrev.01/
Artem
On 07/16/2015 12:57 AM, Weijun Wang wrote:
The logic in RefreshKrb5Config.java is very good. Why not also try
NotRefreshable again after writing the correct krb5.conf in
BogusKDC.java?
Thanks
Max
On 07/16/2015 01:38 PM, Artem Smotrakov wrote:
Hello,
Please review a couple of new tests that check that:
- Kerberos client tries slave KDC if master KDC is not responding
- if refreshKrb5Config is set to true for Krb5LoginModule, then
configuration will be refreshed before login() method is called
KDC.java registers a name service which returns 127.0.0.1 for all hosts.
The name service was updated to throw UnknownHostException for
"not.existing.host".
Webrev: http://cr.openjdk.java.net/~asmotrak/8075297/webrev.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8075297
Artem