• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Looking for JSSE Applet Sample

I have an applet that needs to connect to a server via https.  Does anyone have sample code demonstrating how to use the URL class in the client and the SSLServerSocketFactory on the server side?  
0
richp
Asked:
richp
  • 5
  • 3
1 Solution
 
vladi21Commented:
Can Java applet post to an SSL enabled server?
Yes. All you need to do is post to the "https://" URL. You don't need to have packages such as SSLava. The URLConnection class will say that https is an unknown protocol if the applet is run in the appletviewer, but it will do the right thing if run inside the Navigator.

Do I need to sign my classes to do out of SandBox operation, when they are servered from https server?
There is no need to sign the classes if they are served from an SSL enabled server (https) server, but you need to make PrivilegeManager.enableprivilege() calls with appropriate target (even System Classes do this) for doing out of SandBox operations.

http://java.sun.com/security/ssl/API_users_guide.html 
0
 
vladi21Commented:
0
 
vladi21Commented:
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Ravindra76Commented:
0
 
vladi21Commented:
ravindra76: can you specify exact links
or your are just bot which call google search engine with question title? :)
0
 
Ravindra76Commented:
0
 
vladi21Commented:
it's whole mailing archive :) and i have been here yesterday
0
 
Ravindra76Commented:

All rivers will go into sea.

:) :) :)
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now