File tree Expand file tree Collapse file tree
web/security/tomcat/containerloginform Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <web-app xmlns =" http://xmlns.jcp.org/xml/ns/javaee"
2+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://xmlns.jcp.org/xml/ns/javaee
4+ http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version =" 3.1" >
5+
6+ <security-constraint >
7+ <web-resource-collection >
8+ <web-resource-name >admin</web-resource-name >
9+ <url-pattern >/admin*</url-pattern >
10+ <http-method >GET</http-method >
11+ </web-resource-collection >
12+ <auth-constraint >
13+ <role-name >admin</role-name >
14+ </auth-constraint >
15+
16+ <user-data-constraint >
17+ <!-- transport-guarantee can be CONFIDENTIAL, INTEGRAL, or NONE -->
18+ <transport-guarantee >NONE</transport-guarantee >
19+ </user-data-constraint >
20+ </security-constraint >
21+
22+ <login-config >
23+ <auth-method >FORM</auth-method >
24+ <realm-name >file</realm-name >
25+ <form-login-config >
26+ <form-login-page >/WEB-INF/login.jsp</form-login-page >
27+ <form-error-page >/WEB-INF/error.jsp</form-error-page >
28+ </form-login-config >
29+ </login-config >
30+
31+ </web-app >
You can’t perform that action at this time.
0 commit comments