🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1724

Re: Problem: Error: java.security.AccessControlException: access denied

#1724
From: Ernest Schloesser
Date: Tue, 16 Oct 2001 10:49
46 lines
2294 bytes
Hello unknown,

The applet is only allowed to communicate to it's origin, that is the server
that provided the applet to the browser.
This explains why you have the error. Sorry, it is not a solution.

Ernest Schloesser

"Digital Dust" <digitaldust@gmx.net> schrieb im Newsbeitrag
news:3bb4dd1d$1_2@dnews...
>
> 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: <3bcc10d2_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3bb4dd1d$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,6daf8750cf0a95e8
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-10-16 04:00:16 PST
From: "Ernest Schloesser" <es@bcl.de>
Newsgroups: borland.public.jbuilder.java.api
References: <3bb4dd1d$1_2@dnews>
Subject: Re: Problem: Error: java.security.AccessControlException: access denied
Date: Tue, 16 Oct 2001 12:49:48 +0200
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Forwarded: by - (DeleGate/7.5.4)
NNTP-Posting-Host: 195.243.140.190
Message-ID: <3bcc10d2_1@dnews>
X-Trace: dnews 1003229394 195.243.140.190 (16 Oct 2001 03:49:54 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews