I'm building a Java EE web application using JSF, Netbeans and Glassfish. I just built a standard form login for my application. The problem is that now every time I deploy the project, which is very frequent, it clears the authentication and I have to log in again.
I am new to Java EE so it is possible that this is a configuration problem, but from what I read this is normal behavior.
During the development cycle, what methods are there to handle this? I could disable the authentication during development but that just doesn't seem like a "good" solution.
Thanks