Cambios en managedBeans (Herencia común) para gestionar EJBRemote

connection.
* Vistas para componente profile
* Inclusión de Primefaces
This commit is contained in:
mgarcianun
2019-11-22 18:15:09 +01:00
parent 8005e25d30
commit 6506eaed81
26 changed files with 337 additions and 50 deletions

View File

@@ -36,10 +36,10 @@ public class AuthorizationFilter implements Filter {
String reqURI = reqt.getRequestURI();
if (reqURI.indexOf("/login.xhtml") >= 0 || (ses != null && ses.getAttribute("username") != null)
|| reqURI.indexOf("/public/") >= 0 || reqURI.contains("javax.faces.resource"))
|| reqURI.indexOf("/public/") >= 0 || reqURI.indexOf("/home.xhtml") >= 0 || reqURI.contains("javax.faces.resource"))
chain.doFilter(request, response);
else
resp.sendRedirect(reqt.getContextPath() + "/faces/login.xhtml");
resp.sendRedirect(reqt.getContextPath() + "/login.xhtml");
} catch (Exception e) {
System.out.println(e.getMessage());
}