# Re: java.security.Security.insertProviderAt() in appletviewer

Jan Luehe (Jan.Luehe@Eng)
Tue, 3 Feb 1998 11:51:00 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jan Luehe: "Re: java.security.Security.insertProviderAt() in appletviewer"
- Previous message: Jeff Nisewanger: "Re: encryption"
- Maybe in reply to: Michael Hogan: "java.security.Security.insertProviderAt() in appletviewer"
- Next in thread: Jan Luehe: "Re: java.security.Security.insertProviderAt() in appletviewer"

    Date: Tue, 3 Feb 1998 11:51:00 -0800 (PST)

    From: Jan Luehe <Jan.Luehe@Eng>

    Subject: Re: java.security.Security.insertProviderAt() in appletviewer

    To: java-security@web1.javasoft.com, mhogan@iona.com

Mike:

> I am trying to get an applet that makes SSL connections working in the
> appletviewer. The third party toolkit that I am using must be nominated as
> a security provider using java.security.Security.insertProviderAt().
> However, the appletviewer's security manager denies me the right to do this.
> Even if the applet is signed.
>
> Is there any way I can get around this restriction? Is there another
approach?

You need to add a "SecurityPermission" to your policy file, which may
look as follows:

permission java.security.SecurityPermission "Security.insertProvider.*";

Check

http://webwork.eng/products/jdk/1.2/docs/guide/security/CryptoSpec.html#Security

for more information on how to do this.

Jan

- Next message: Jan Luehe: "Re: java.security.Security.insertProviderAt() in appletviewer"
- Previous message: Jeff Nisewanger: "Re: encryption"
- Maybe in reply to: Michael Hogan: "java.security.Security.insertProviderAt() in appletviewer"
- Next in thread: Jan Luehe: "Re: java.security.Security.insertProviderAt() in appletviewer"