From 9f8411fc23190aa383b9e720e789a304a5d71b0c Mon Sep 17 00:00:00 2001 From: alberto Date: Wed, 17 Jul 2019 13:30:26 +0000 Subject: [PATCH] =?UTF-8?q?Seguran=C3=A7a=20Comunica=C3=A7=C3=A3o=20bug#15?= =?UTF-8?q?023=20dev:trevezani=20qua:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@95828 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../rjconsultores/ventaboletos/rest/SecurityInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/rjconsultores/ventaboletos/rest/SecurityInterceptor.java b/src/java/com/rjconsultores/ventaboletos/rest/SecurityInterceptor.java index b187f61de..49dae4a09 100644 --- a/src/java/com/rjconsultores/ventaboletos/rest/SecurityInterceptor.java +++ b/src/java/com/rjconsultores/ventaboletos/rest/SecurityInterceptor.java @@ -28,7 +28,7 @@ import org.mindrot.jbcrypt.BCrypt; public class SecurityInterceptor implements PreProcessInterceptor { private static final String AUTHORIZATION_PROPERTY = "AuthorizationSecurity"; private static final String AUTHENTICATION_SCHEME = "Basic"; - private static final String ROLE_CHECK = "EMBARCADA"; + private static final String ROLE_CHECK = "EMBARCADA_DISABLE"; private static final ServerResponse ACCESS_DENIED = new ServerResponse("Access denied for this resource", 401, new Headers()); private static final ServerResponse SERVER_ERROR = new ServerResponse("Internal Server Error", 500, new Headers());