Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security in Servlet

 
Senthilkumar Rajamarthandan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to implement security or SSL in servlet?. Can anyone help on this?.
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SSL is a part of WebContainer or HTTP server. You could not use it in Servlet explicitly.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you need to uncomment the HTTPS entry, Tomcat would be ready to
listen for HTTPS requests, but to do so, you have to install a security certificate.

A certificate is an integral part of HTTPS. Additionally, the auth-method element must be set to CLIENT-CERT.
[ October 29, 2004: Message edited by: adeel ansari ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic