jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java
changeset 10328 06c93c42bca0
parent 9008 1c23e333dd76
child 30820 0d4717a011d3
--- a/jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java	Fri Aug 12 11:20:45 2011 +0800
+++ b/jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java	Fri Aug 12 12:26:31 2011 +0800
@@ -36,7 +36,7 @@
     public static void main(String[] argv) throws Exception {
         System.setProperty("sun.security.jgss.mechanism", GSSUtil.GSS_SPNEGO_MECH_OID.toString());
         try {
-            GSSManager.getInstance().createName("service@host", GSSName.NT_HOSTBASED_SERVICE, new Oid("1.3.6.1.5.5.2"));
+            GSSManager.getInstance().createName("service@localhost", GSSName.NT_HOSTBASED_SERVICE, new Oid("1.3.6.1.5.5.2"));
         } catch (GSSException e) {
             // This is OK, for example, krb5.conf is missing or other problems
         }