axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baker, Jay" <>
Subject RE: Axis and Applet coexistence?
Date Wed, 13 Jul 2005 21:43:48 GMT
Yeah, I don't think the sandbox is going to go for that. I'm pretty sure that you can't give
a policy file to your client in an applet.

Did you override #checkPermission (both methods - it is overloaded) with a no-op? That's what
worked for us ... along with the signing of course.

-----Original Message-----
From: Luis Rivera []
Sent: Wednesday, July 13, 2005 4:04 PM
Subject: RE: Axis and Applet coexistence?


Well, it seems that with a custom security manager I still have the problem 
of having to modify the security policy file to allow the applet to use the 
new security manager. However, in my case I don't think I can go into each 
axis client's machine to install this new file.

So, I want to ship it (custom policy file) with the cient jar file and if 
possible upload it along the applet when it is loaded by the browser. 
However I don't know how to do this, or even if it is possible. It is 
possible to pass the policy file as a parameters to the appletviewer, but 
how do you pass it when it is loaded by the browser each time the applet is 

Thansk in advance for any help,
--Luis R.

>From: "Baker, Jay" <>
>To: <>
>Subject: RE: Axis and Applet coexistence?
>Date: Mon, 11 Jul 2005 17:24:50 -0500
>That's what we did. We installed a custom security manager that just grants 
>access to all. YOu might run into other issues, but the sandbox end of 
>things should be solvable with this kind of an approach.
>-----Original Message-----
>From: Luis Rivera []
>Sent: Monday, July 11, 2005 5:21 PM
>Subject: Axis and Applet coexistence?
>    Hi all,
>I have been reading the posts regarding applets and axis. It looks like
>there is a solution but I am not sure I understand how. I have a signed
>applet and I even unpacked all the library jars files into a single huge 
>file, which I signed and I am using to start the applet. However, the
>LogFactory created by the Logging mechanisms is breaking the applet ...
>seems like I need to either hack the library or to use a new security
>policy? ... would it be enough to use a custom security manager?
>   Thanks in advance,
>   --Luis R.
>FREE pop-up blocking with the new MSN Toolbar - get it now!

Express yourself instantly with MSN Messenger! Download today - it's FREE!

View raw message