Ramani,
Yes you can sign the applet to contact the servlet secured by SSL.
Pl. read information about jarsigner tool for further details
Mohan
IBM
Somers, NY
PH: (914) 766-2259
T/L: 826 2259
Ramani <[EMAIL PROTECTED]> on 08/26/99 02:51:14 PM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Applet contacting a servlet on a secured server
Hi,
I am trying to use an untrusted applet to open a inputstream
(url.openStream()) to contact a servlet on a site which is secured using
SSL. Can I through some means sign the applet and use it to contact the
servlet ? Quick Help on this will be highly appreciated.
Thanks and regards,
Ramani.
PS : The code for the servlet .
import java.applet.*;
import java.io.*;
import java.net.*;
public class PingApplet extends Applet{
public void init() {
System.out.println("new init invoked");
try {
URL url = new URL("https://MyServer/servlet/PingServlet");
InputStream urlConn = url.openStream();
}catch(Exception e){
System.out.println("Unable to open stream");
}
}
}
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html