<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"version="3.0"><module-name>teste</module-name><filter><filter-name>CORSFilter</filter-name><filter-class>br.com.test.tms.teste.util.CORSFilter</filter-class></filter><filter-mapping><filter-name>CORSFilter</filter-name><url-pattern>/rest/*</url-pattern></filter-mapping><distributable /><security-constraint><web-resource-collection><web-resource-name>teste</web-resource-name><url-pattern>/rest/exemploService/secure/*</url-pattern></web-resource-collection><auth-constraint><role-name>*</role-name></auth-constraint><user-data-constraint><transport-guarantee>CONFIDENTIAL</transport-guarantee></user-data-constraint></security-constraint><login-config><auth-method>KEYCLOAK</auth-method><realm-name>realmtest</realm-name></login-config><security-role><role-name>user</role-name></security-role><security-role><role-name>admin</role-name></security-role></web-app>