United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7133112 [macosx] org.ietf.jgss.GSSException while sun.security.jgss.GSSManagerImpl.createName
JDK-7133112 : [macosx] org.ietf.jgss.GSSException while sun.security.jgss.GSSManagerImpl.createName

Details
Type:
Bug
Submit Date:
2012-01-25
Status:
Closed
Updated Date:
2013-11-06
Project Name:
JDK
Resolved Date:
2012-03-27
Component:
security-libs
OS:
os_x
Sub-Component:
java.security
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u4 (b13)

Related Reports
Relates:

Sub Tasks

Description
Please see test: sun/security/krb5/runNameEquals.sh.
Following exception is thrown:
Exception in thread "main" GSSException: Invalid name provided (Mechanism level: Cannot locate default realm)
at sun.security.jgss.krb5.Krb5NameElement.getInstance(Krb5NameElement.java:127)
at sun.security.jgss.krb5.Krb5MechFactory.getNameElement(Krb5MechFactory.java:95)
at sun.security.jgss.GSSManagerImpl.getNameElement(GSSManagerImpl.java:202)
at sun.security.jgss.GSSNameImpl.getElement(GSSNameImpl.java:472)
at sun.security.jgss.GSSNameImpl.init(GSSNameImpl.java:201)
at sun.security.jgss.GSSNameImpl.<init>(GSSNameImpl.java:170)
at sun.security.jgss.GSSManagerImpl.createName(GSSManagerImpl.java:137)
at Krb5NameEquals.main(Krb5NameEquals.java:53)

JIRA Equivalent: http://java.net/jira/browse/MACOSX_PORT-146

                                    

Comments
EVALUATION

Dup of 7130948? Sorry, not.

The native JGSS provider on Mac is not turned on. Therefore we should not set NATIVE=true for Darwin.
                                     
2012-01-30
EVALUATION

http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/bc9c53f4b9c5
                                     
2012-02-08



Hardware and Software, Engineered to Work Together