Browse Source

Removed login-config info. Client authentication has to be enabled on the server (e.g. in the Tomcat connector) for it to work.

Luke Taylor 20 năm trước cách đây
mục cha
commit
740373ad01
1 tập tin đã thay đổi với 1 bổ sung10 xóa
  1. 1 10
      samples/contacts/src/main/webapp/x509/WEB-INF/web.xml

+ 1 - 10
samples/contacts/src/main/webapp/x509/WEB-INF/web.xml

@@ -103,14 +103,5 @@
       <taglib-uri>/spring</taglib-uri>
       <taglib-location>/WEB-INF/spring.tld</taglib-location>
   	</taglib>
-
-    <login-config>
-        <auth-method>CLIENT-CERT</auth-method>
-    </login-config>
-
-    <security-constraint>
-        <web-resource-collection>/*</web-resource-collection>
-        <user-data-constraint>CONFIDENTIAL</user-data-constraint>
-    </security-constraint>
-
+    
 </web-app>