Code review request: 8010192: Enable native JGSS provider on Mac

Weijun Wang weijun.wang at oracle.com
Sat May 4 00:09:25 UTC 2013



On 5/4/13 2:23 AM, Valerie (Yu-Ching) Peng wrote:
>
> So, has this changes been tested against the existing regression tests
> on Mac?

Yes, but there is only one current test using native lib, that is 
runNameEquals.sh.

However, I've experienced it a lot with the ReplayCacheTestProc test in 
my recent rcache work. The native JGSS lib works fine on my Mac as well 
as JPRT clients.

> After this, is the native JGSS provider get used on Mac for most if not
> all Kerberos operation or is it still Java Kerberos?

It's still java kerberos. You still have to set 
-Dsun.security.jgss.native=true to make native provider work.

Thanks
Max

>
> Otherwise, changes look ok to me.
> Valerie
>
> On 03/18/13 05:38, Erik Joelsson wrote:
>> The build changes look ok.
>>
>> /Erik
>>
>> On 2013-03-18 12:00, Weijun Wang wrote:
>>> Please take a look at
>>>
>>>    http://cr.openjdk.java.net/~weijun/8010192/webrev.00/
>>>
>>> The Mac native JGSS provider is back. Besides reverting changes made
>>> in http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5a2ab2c3f106, there are:
>>>
>>> 1. GSSManagerImpl.java: enable the provider
>>> 2. SunNativeProvider.java: library name from MIT added
>>> 3. Update gssapi.h, new lines copied from Mac's gssapi.h
>>> 4. Liberate a test.
>>>
>>> Thanks
>>> Max
>



More information about the security-dev mailing list