Si no está autorizado, redirige por defecto a la página de login.
This commit is contained in:
1 parent
4442100826
commit
b305c59054
1 file changed
+1
-1
@@ -181,7 +181,7 @@ public class AuthorizationFilter implements Filter {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resp.sendRedirect(req.getContextPath() + "/home.xhtml");
|
resp.sendRedirect(req.getContextPath() + "/login.xhtml");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (Exceptions.is(e, PersistenceException.class) == true) {
|
if (Exceptions.is(e, PersistenceException.class) == true) {
|
||||||
if (ses != null)
|
if (ses != null)
|
||||||
|
|||||||
Reference in new issue
Block a user