# Re: Add SunJCE provider with JDK1.2

Jan Luehe (luehe@laguna.eng.sun.com)
Tue, 5 Jan 1999 12:04:30 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jan Luehe: "Re: JSECURITY Issue: Page not found"
- Previous message: Jan Luehe: "Re: jarsigner ambiguity"
- Maybe in reply to: Yu Wang: "Add SunJCE provider with JDK1.2"

Yu:

> When I implemented security features in my java projects, I need to use
> Sun JCE security packages and install SunJCE provider. There is no problem
when
> doing these in Win95.
> When I run the java program in WinNT with JDK1.2. I always got:
>
>
> method endProvilidged()V not found in java.security.AccessController
>
> whether I statically or dynamically installed the provider.
> I have correctlly setting the classpath. I also try to edit the java.policy
> and java.security file. But no success.

Please make sure that you are using the latest JCE 1.2 release
from

http://developer.java.sun.com/developer/earlyAccess/jdk12/jce.html.

There used to be "java.security.AccessController.begin/endPrivileged()"
calls in previous JCE 1.2 beta releases. Those methods were implemented
in previous JDK 1.2 beta releases and were later replaced by
"java.security.AccessController.doPrivileged()" in the final JDK 1.2
release.
JCE 1.2, which runs on top of JDK 1.2, was updated accordingly.
You need to install the updated JCE 1.2 release from the above URL.

Jan

- Next message: Jan Luehe: "Re: JSECURITY Issue: Page not found"
- Previous message: Jan Luehe: "Re: jarsigner ambiguity"
- Maybe in reply to: Yu Wang: "Add SunJCE provider with JDK1.2"