Using JSSE security in JSP appliction
1 posts in topic
Flat View  Flat View

Posted By:   dilip_rathod
Posted On:   Tuesday, April 20, 2004 02:50 AM

Resected Sir,
I have developing project named Intranet Payment Gateway in JSP and want to implement SSL security using JSSE feature provided by J2SDK v1.4.
So, Sir please guide me how to enable SSL for Java Web Server 2.0

Emai: rathod_dt@yahoo.com

Re: Using JSSE security in JSP appliction

Posted By:   Sean_Owen  
Posted On:   Tuesday, April 20, 2004 08:46 AM

This is something you should do using the J2EE servlet APIs, instead of using JSSE directly. In your web.xml deployment descriptor, you can protect a set of URLs using the security-constraint element with a transport-guarantee setting of "CONFIDENTIAL". This will cause the container, whether JWS 2.0 or another, to force only SSL connections to those URLs.

Search the internet for documentation of web.xml and the security-constraint element for more information. Also consider using Tomcat instead of JWS if you can, as JWS is relatively old.
About | Sitemap | Contact