• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to register a provider in a applet

 
satyendra adhikari
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello!
i need to use OpenPgp for data encryption in a applet/servlet enviroment.can someone please tell me what are the steps to register a provider at a applet.
i am finding exception access denied when i call..
java.security.security.addProvider(...)
i am using java plugin 1.4.0 b3 with IE.
thankx
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Satyenda -
What's missing on the client side is the permissions necessary to accept a security provider that's being specified by the server (via the applet code).
Does your plug-in allow you to incorporate a policy file on the client-side that would make it permissible to change security on the client from a remote location?
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
satyendra adhikari
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you mean changing policy file..yes i can change the policy file.please let me know what right i should give to my applet code so that it can only perform the required task .
regards
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!