wood burning stoves
The moose likes Security and the fly likes Help with https implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Help with https implementation" Watch "Help with https implementation" New topic

Help with https implementation

wrushasen dakhane
Ranch Hand

Joined: Sep 25, 2006
Posts: 47

Please help me with https implementation in my existing application.

We want to implement https only for the Login.jsp page. The key and certificate has already been installed on the server. Now only the code changes are required.

What I have done :

1. added security-contraint element in web.xml

<!-- SSL Implementation -->
<display-name>WebApp Administration</display-name>
<web-resource-name>Ecrin2 Appln</web-resource-name>

Let me know whether login-config is required?
<realm-name>WebApp Administration</realm-name>

After doing this it gives 404 page not foud exception.

Please let me know what is wrong.

SCJP 1.4, SCWCD 1.4
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Which URL are you trying to access? Does it work (or not work) with HTTP or HTTPS?
wrushasen dakhane
Ranch Hand

Joined: Sep 25, 2006
Posts: 47
I want to secure only the Login.jsp page.

so I am putting the location as /Login.jsp
I agree. Here's the link: http://aspose.com/file-tools
subject: Help with https implementation
It's not a secret anymore!