I used Waffle for Windows Authentication for my application, it worked great. Then my client is asking to use HTTPS instead of HTTP. So I enabled HTTPS in tomcat.
I have followed the Tomcat instruction to create a key store using command line tool, and put the key store into the tomcat root folder.
Then I modified server.xml and web.xml to enable the forwarding to port 8443 for https.
After restarted the server, the HTTPS part is working, but sadly, the Windows Authentication stopped working. I wonder if there are any conflict between Waffle and HTTPS?
Here is the security-constraint I have to add to WEB.xml in order to make HTTPS work, I feel it might block windows authentication. If I remove it, Waffle will work, but HTTPS goes back to HTTP. Any idea?
<!--Configure for Form Authentication-->
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/logon.jsp</form-login-page>
<form-error-page>/logon.jsp</form-error-page>
</form-login-config>
</login-config>
<security-constraint>
<web-resource-collection>
<web-resource-name>SSL</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>