I've a JSF application that uses HttpServletRequest.login() for user authentication (the authentication is done through a
dedicated security domain in Wildfly configuration). I get the current user with FacesContext.getCurrentInstance().getExternalContext().getUserPrincipal().
This worked perfectly with JBoss EAP 6.1. Now with Wildfly 8.0.0.Final, getUserPrincipal() returns null when I navigate to another page. It seems that
the security info is lost (calls to secured EJB from a JSF bean fail with an EJBAccessException).
Thanks in advance for any suggestion,
Retrieving data ...