Commit 1b9eeaf8166856f48f688f57b079a22685aae0ab

Authored by Cleverson Sacramento
1 parent 0633ded6
Exists in master

IN PROGRESS - issue FWK-92: Redirecionamento ao usar

securityContext.hasRole/hasPermissions com propriedade desativada 
https://demoiselle.atlassian.net/browse/FWK-92
impl/extension/jsf/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/AuthenticationExceptionHandler.java
... ... @@ -36,7 +36,7 @@
36 36 */
37 37 package br.gov.frameworkdemoiselle.internal.implementation;
38 38  
39   -import static org.apache.http.HttpStatus.SC_FORBIDDEN;
  39 +import static javax.servlet.http.HttpServletResponse.SC_FORBIDDEN;
40 40  
41 41 import javax.faces.context.ExceptionHandler;
42 42 import javax.faces.context.FacesContext;
... ...
impl/extension/jsf/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/AuthorizationExceptionHandler.java
... ... @@ -36,7 +36,7 @@
36 36 */
37 37 package br.gov.frameworkdemoiselle.internal.implementation;
38 38  
39   -import static org.apache.http.HttpStatus.SC_UNAUTHORIZED;
  39 +import static javax.servlet.http.HttpServletResponse.SC_UNAUTHORIZED;
40 40  
41 41 import javax.faces.context.ExceptionHandler;
42 42 import javax.faces.context.FacesContext;
... ...