Hello, for an application managed authentication I use a derby database. In the UserBean the logout() method is called in case the user logs out. However, in the first code sample the session object is always null. If the declaration and definition of the variables facesContext and session is included inside the logout() method then it works (code sample 2)!? Shouldn't ...