Removed second security-constraint as it seems to stop Tomcat from

redirecting users that aren’t logged in to Keycloak. Also added missing
tag start.
This commit is contained in:
nick.grange 2015-08-10 22:27:52 +10:00
parent 03d3f4229e
commit b3c307affe

View file

@ -73,18 +73,9 @@ $ unzip keycloak-tomcat8-adapter-dist.zip
</auth-constraint> </auth-constraint>
</security-constraint> </security-constraint>
<security-constraint>
<web-resource-collection>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config> <login-config>
<auth-method>BASIC</auth-method> <auth-method>BASIC</auth-method>
<realm-name>this is ignored currently/realm-name> <realm-name>this is ignored currently</realm-name>
</login-config> </login-config>
<security-role> <security-role>