File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Tomcat SSL issue with "user-data-constraint"
Joined: Oct 11, 2005
Jul 08, 2010 05:24:25
I have configured the "user-data-constraint" in web.xml.When i request for the resource, the container redirect to the
protocol. But i am getting "Unable to connect" in my browser as aresponse.
Do i need to configure anything in my
FYI security-constraint in my web.xml:
<security-constraint> <web-resource-collection> <url-pattern>*.do</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> <auth-constraint> <role-name>manager</role-name> </auth-constraint> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint>
Joined: Apr 30, 2003
Jul 13, 2010 07:47:39
Thennam Pandian wrote:
Do i need to configure anything in my tomcat server?
There are steps for setting up tomcat to use SSL (https) . here are the instructions for Tomcat 6:
I agree. Here's the link:
subject: Tomcat SSL issue with "user-data-constraint"
request. get User Principal(). getName() do not retreive user name
Client-Cert authentication not protecting specified URL pattern
Declarative Security using web.xml
JWebplus : Question ID :996506417068
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015