12345678910111213141516171819202122232425262728293031 |
- <web-app version="4.0"
- xmlns="http://xmlns.jcp.org/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
- <security-constraint>
- <display-name>REST</display-name>
- <web-resource-collection>
- <web-resource-name>REST</web-resource-name>
- <description>REST</description>
- <url-pattern>/api/*</url-pattern>
- </web-resource-collection>
- <auth-constraint>
- <description>REST</description>
- <role-name>user</role-name>
- </auth-constraint>
- </security-constraint>
- <login-config>
- <auth-method>FORM</auth-method>
- <realm-name>TOTVSTech</realm-name>
- </login-config>
- <security-role>
- <role-name>totvstech</role-name>
- </security-role>
- <security-role>
- <role-name>user</role-name>
- </security-role>
- <security-role>
- <role-name>sysadmin</role-name>
- </security-role>
- </web-app>
|