> Hai,
>
> I have packed all the stubs ,skeletons from the deployable
> jar file and applet class into one jar file.This jar file am passing to
> the client and the client will use the applet class from this jar
> file.This system works fine when I made a changes in the
> security policy of the client
> ie in <java-home>/lib/security/java.policy
> I append like this
> grant {
> permission java.security.AllPermission;
> };
>
> When I made changes like this,it works fine.
>
> But when I remove this permission.I couldn't able to run it.
I am getting exception like this
java.security.AccessControlException: access denied
(java.lang.RuntimePermission modifyThreadGroup )
at java.security.AccessControlContext.checkPermission(Unknown
Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.applet.AppletSecurity.checkAccess(Unknown Source)
> But I didn't reading or writing file from the file system in my
> applet code.I have JNDI lookup for ejb in my client.
>
> Inorder to work without any changes in security policy of
> the client.Whether I needed to have this jar as Signed jar.
> Or any other method in order to work fine
>
> Thanks in advance.
> With Regards,
> Vinoth.C
This e-mail and any files transmitted with it are for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".