Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: Signed Applet

Prashant Samant

2003-10-16


Hi,

I am using IE 5.5 and java plugin is installed on my machine.

Do we have to pass any runtime parameters in the plugin tool.

Thanx & regards,

Prashant S.

 

 

-----Original Message-----
From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@JAVA.SUN.COM] On Behalf Of Deepak Sumani
Sent: Thursday, October 16, 2003 3:29 PM
To: J2EE-INTEREST@JAVA.SUN.COM
Subject: Re: Signed Applet

 

With IE 6.0 by default java plugin is not installed !

"Chanian, Raj" <Raj.Chanian@LOGICACMG.COM> wrote:

Check your browser security settings and see if you have Java plugin especially if your using IE,

 

Regards,

 

Raj

-----Original Message-----
From: Prashant Samant [mailto:Prashant.Samant@MPHASIS.COM]
Sent: 16 October 2003 10:33
To: J2EE-INTEREST@JAVA.SUN.COM
Subject: Signed Applet

Hello everybody,

I am trying to run an applet from a tutorial at http://developer.java.sun.com/developer/technicalArticles/Security/Signed/

I am able to run the the applet with the appletviewer but could not run it on browser.

I am following the below steps

 

1) jar cvf SignedApplet.jar SignedAppletDemo.class

 

2) keytool -genkey -alias signFiles -keystore susanstore -keypass kpi135 -dname "cn=jones" -storepass ab987c

 

3) jarsigner -keystore susanstore -storepass ab987c -keypass kpi135 -signedjar SSignedApplet.jar SignedApplet.jar signFiles

 

4) keytool -export -keystore susanstore -storepass ab987c -alias signFiles -file SusanJones.cer

 

5) keytool -import -alias susan -file SusanJones.cer -keystore raystore -storepass abcdefgh

 

I am running the applet through the appletviewer as below

appletviewer -J-Djava.security.policy=Write.jp SignApplet.htm

 

I have my policy file(Write.jp) the java code and html file in same folder.

How can I run the same code on the browser??

I am using weblogic 7.0 and trying the following URL on the browser to run the applet

http://localhost:7001/vtr/signedApplet/SignApplet.htm.

And I am getting security exception "could not acces file"

 

Pls advise

 

Thanks & Regards,
Prashant S.


 

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003

http://symposium.gartner.com/story.php.id.3323.s.5.html

Please note that LogicaCMG does not have control over content from,or availability of, this website
=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

 

Do Good & Be Good


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search =========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

©2008 junlu.com - Jax Systems, LLC, U.S.A.