Article View: borland.public.jbuilder.java.api
Article #1772Problem: Error: java.security.AccessControlException: access denied
From: Digital Dust
Date: Fri, 28 Sep 2001 20:27
Date: Fri, 28 Sep 2001 20:27
32 lines
1826 bytes
1826 bytes
I have write an applet with a DES security encryption. in the beginning of my code i use SunJCE jce = new SunJCE(); Security.addProvider(jce); to set the provider. when the client has downloaded the applet and goes up to start i get an error from any brouser: Error: java.security.AccessControlException: access denied (java.security.SecurityPermission putProviderProperty.SunJCE) Error: java.security.NoSuchAlgorithmException: DH KeyFactory not available Error: java.lang.NullPointerException java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs at javax.crypto.b.<clinit>([DashoPro-V1.2-120198]) at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198]) i think the applet has not enough access rights to set up the provider. BUT i dont have any idea how i can fix the bug ! :))) Sorry my english is very shitty :) i hope anyone can help me :) thx a lot ! Digital Dust
Technical Details
Message-ID:
<3bb4dd1d$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.onemain.com!feed1.onemain.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,6daf8750cf0a95e8,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-09-28 13:34:31 PST From: "Digital Dust" <digitaldust@gmx.net> Sender: "Digital Dust" <digitaldust@gmx.net> Reply-To: "Digital Dust" <digitaldust@gmx.net> Subject: Problem: Error: java.security.AccessControlException: access denied Newsgroups: borland.public.jbuilder.java.api X-User-Info: 217.226.201.121 217.226.201.121 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3bb4dd1d$1_2@dnews> Date: 28 Sep 2001 13:27:09 -0700 X-Trace: dnews 1001708829 207.105.83.65 (28 Sep 2001 13:27:09 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.onemain.com!feed1.onemain.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews