aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF/web.xml
blob: 5c46f87c032eaa68719178e91ba86e62c35aeeca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

  <!--<security-role>
    <role-name>admin</role-name>
  </security-role>
  <security-role>
    <role-name>user</role-name>
  <security-role>-->

  <!--<security-constraint>
    <web-resource-collection>
      <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
      <role-name>admin</role-name>
      <role-name>user</role-name>
    </auth-constraint>
  </security-constraint>

  <login-config>
    <auth-method>BASIC</auth-method>
  </login-config>-->

  <servlet>
    <servlet-name>databaseService</servlet-name>
    <servlet-class>org.traccar.web.server.database.DatabaseServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>databaseService</servlet-name>
    <url-pattern>/Traccar/databaseService</url-pattern>
  </servlet-mapping>

  <welcome-file-list>
    <welcome-file>traccar.html</welcome-file>
  </welcome-file-list>

</web-app>