Forums Register Login

ssl support

+Pie Number of slices to send: Send
What modifications are required to make a servlet support SSL data encryption?

1. Extend HttpSecureServlet.

2. No changes are required.

3. Encode HttpServletResponse with encodeURL() and decode HttpServletRequest with decodeURL().

4. Implement the HttpSSL interface.

5.Encode HttpServletResponse with encodeResponse() and decode HttpServletRequest with decodeRequest().
+Pie Number of slices to send: Send
Why are you posting multiple choice questions to a forum?
Are we being tested?

Which do you think it is?
[ May 28, 2005: Message edited by: Ben Souther ]
+Pie Number of slices to send: Send
Hey I am not testing anyone

I took a Servlet quiz, and for this question I answered #5 which I think is the correct answer.

I am just trying to find the correct answer

Thanks
+Pie Number of slices to send: Send
People here are happy to help someone out.
Often that help is a matter of pointing the person in the right direction.
What Javaranch is not, is an answer mill.
Using the ranch to get your homework done for you is strongly dicouraged..

I would start by doing some searches on the J2EE API (link in my signature) for HttpSecureServlet, enocdeURL, and encodeResponse. If any of these methods don't exist in the spec, then you can pretty much write off any answers that contain them.

The other document that you should always have at your fingertips is the Servlet Spec itself (link is also in my signature).

Another good resource is the documentation to any of the open source containers. Tomcat is particularly good because it is the reference implementation for the Servlet and JSP specs.
This page should give you a good hint toward answering the question you asked:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html

Be sure to let us know what you find.
[ May 28, 2005: Message edited by: Ben Souther ]
+Pie Number of slices to send: Send
Why Tomcat/Apache? I think any servlet container support SSL. Just visit any CA site and you will get detail instructions how to buy and setup certificate for your server.
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 6103 times.
Similar Threads
Spring 2.5 MultiActionController methodNameResolver not working
encryption
NIO read/write review
HttpServletResponse and HttpServletRequest
ActionForward between 2 differnt web_apps
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:04:17.