posted 8 years ago
Null principal problem resolved: it was a configuration error.
In web.xml added LogoutServlet in a security constraint:
But when i logout then enter on a protected page, no login is asked!
EDIT: This is the server log at logout moment:
This is all ok! It's BASIC auth, so when i log out, the system log in again!
Switching to FORM authentication is the solution
JPA 2.1.0
Glassfish 3.1->4, Wildfly, Primefaces 3.4->4