提交 085b9412 编写于 作者: W weijun

6972005: ConfPlusProp.java test failure when DNS has info for realm

Reviewed-by: xuelei
上级 2917e2a5
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,6 +24,7 @@
* @test
* @bug 6857795
* @bug 6858589
* @bug 6972005
* @summary krb5.conf ignored if system properties on realm and kdc are provided
*/
......@@ -96,7 +97,8 @@ public class ConfPlusProp {
System.setProperty("java.security.krb5.conf", "i-am-not-a file");
refresh();
checkDefaultRealm(null);
// Default realm might come from DNS
//checkDefaultRealm(null);
check("R1", null);
check("R2", null);
check("R3", null);
......
[libdefaults]
default_realm = R1
forwardable = well
dns_lookup_realm = false
[realms]
R1 = {
......
[libdefaults]
dns_lookup_realm = false
[realms]
R1 = {
kdc = k12
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册