Commit c6dad107077235b38a32b0fe403297205ab21ec9
1 parent
0b101bc2
Exists in
master
and in
1 other branch
Criação de perfil com acesso restrito às consultas.
Showing
1 changed file
with
16 additions
and
0 deletions
Show diff stats
src/main/webapp/WEB-INF/web.xml
| ... | ... | @@ -72,6 +72,18 @@ |
| 72 | 72 | <role-name>RO_SEI_BROKER</role-name> |
| 73 | 73 | </auth-constraint> |
| 74 | 74 | </security-constraint> |
| 75 | + | |
| 76 | + <security-constraint> | |
| 77 | + <display-name>Serviço Rest de Integração ao SEI</display-name> | |
| 78 | + <web-resource-collection> | |
| 79 | + <web-resource-name>Todos os serviços de consulta</web-resource-name> | |
| 80 | + <url-pattern>/service/*</url-pattern> | |
| 81 | + <http-method>GET</http-method> | |
| 82 | + </web-resource-collection> | |
| 83 | + <auth-constraint> | |
| 84 | + <role-name>RO_SEI_BROKER_CONSULTA</role-name> | |
| 85 | + </auth-constraint> | |
| 86 | + </security-constraint> | |
| 75 | 87 | |
| 76 | 88 | <security-constraint> |
| 77 | 89 | <display-name>Serviço Rest de Integração ao SEI</display-name> |
| ... | ... | @@ -105,6 +117,10 @@ |
| 105 | 117 | <security-role> |
| 106 | 118 | <role-name>RO_SEI_BROKER_ADM</role-name> |
| 107 | 119 | </security-role> |
| 120 | + | |
| 121 | + <security-role> | |
| 122 | + <role-name>RO_SEI_BROKER_CONSULTA</role-name> | |
| 123 | + </security-role> | |
| 108 | 124 | |
| 109 | 125 | <!-- Declaração dos ExceptionHandlers --> |
| 110 | 126 | <context-param> | ... | ... |