Hi, I've got a problem with port redirection on Tomcat 4.1.12 standalone. I've enabled SSL in server.xml and it works fine. But then I put the following in web.xml:
<security-constraint> <web-resource-collection> <web-resource-name>My Servlet</web-resource-name> <url-pattern>/myServlet</url-pattern> </web-resource-collection> <auth-constraint> <role-name>myRole</role-name> </auth-constraint> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> <login-config> <auth-method>FORM</auth-method> <realm-name>Dyplom application</realm-name> <form-login-config> <form-login-page>/login.jsp</form-login-page> <form-error-page>/error.jsp</form-error-page> </form-login-config> </login-config> <security-role> <role-name>myRole</role-name> </security-role> And now I expect that invoking http://localhost:8080/myApp/myServlet will redirect me to login.jsp page over HTTPS. And that works ok, but only if Tomcat works on 80 and 443 ports. Otherwise my browser (IE 6.0) only asks me to accept the server certificate and then it can't connect to the server. Is there a way to make it work on other ports (for example on default 8080 and 8443)? Mind, that when I ommit <auth-constraint> tag it works as it should - MyServlet is invoked over HTTPS. Thanks for any help. Michal -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>