Message-Id: <37C56ED3.7A92BCE5@cobra.brass.com>
Date: Thu, 26 Aug 1999 12:44:05 -0400
From: abhay <abhay@cobra.brass.com>
To: java-security@java.sun.com, abhay@cobra.brass.com
Subject: Problem using SunJCE in an applet
Hi java-security,
I would appreciate if you would look into the problem I am facing
using SunJCE with a browser plugin.
I'm trying to use SunJCE-classes in my applet. But the browser plugin
(jdk1.2) of windows-95 is unable to recognise SunJCE as the provider
even if I change the java.security file on the client machine (the
machine on which I am running the applet ).
As a result, I get "algorithm not available" exception in my applet.
Note that I can not use Security.addProvider call within my applet as
my applet is not signed.
( calling this would give me security execption ).
A typical use on client machine is like this :
(a) The client loads the applet and the jce1_2-doc.jar from our web
server.
(b) The client machine has the provider SunJCE added
in c:\windows\system\lib\security\java.security file.
But the browser is picks up only Sun as the provider.
I modified the applet to print the providers list from Security class.
It prints only Sun as the provider.
Is there anything wrong / missing that I am doing ?
Thanks in advance,
Abhay Kenjalkar
Automated Securities Clearance Ltd, NJ
Tel : 201-840-5517
email : abhay@brass.com
------------------------------------------------------------------------------