Segurança Comunicação

bug#15023
dev:trevezani
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@95778 d1611594-4594-4d17-8e1d-87c2c4800839
master
alberto 2019-07-16 14:54:32 +00:00
parent 208a160f6e
commit c3c546acfc
1 changed files with 3 additions and 3 deletions

View File

@ -26,13 +26,13 @@ import org.mindrot.jbcrypt.BCrypt;
@Provider
@ServerInterceptor
public class SecurityInterceptor implements PreProcessInterceptor {
private static final String AUTHORIZATION_PROPERTY = "AuthorizationEmbarcada";
private static final String AUTHORIZATION_PROPERTY = "AuthorizationSecurity";
private static final String AUTHENTICATION_SCHEME = "Basic";
private static final String ROLE_CHECK = "EMBARCADA";
private static final ServerResponse ACCESS_DENIED = new ServerResponse("Access denied for this resource", 401, new Headers<Object>());
private static final ServerResponse SERVER_ERROR = new ServerResponse("INTERNAL SERVER ERROR", 500, new Headers<Object>());
private static final ServerResponse ACCESS_FORBIDDEN = new ServerResponse("Nobody can access this resource", 403, new Headers<Object>());
private static final ServerResponse SERVER_ERROR = new ServerResponse("Internal Server Error", 500, new Headers<Object>());
private static final ServerResponse ACCESS_FORBIDDEN = new ServerResponse("Access forbidden for this resource", 403, new Headers<Object>());
private static final SimpleDateFormat sdf = new SimpleDateFormat("ddyyyyMM");