How can I get the username of a user after login? I want to get the username in the UserBean to query a single entry if the MySQL database and am using JSF for the datatable. The username is not returned during the login session.
valid question