Hi all!
I'm a Glassfish JEE developer looking forward to migrate to WildFly.
So far my experience was good enough and I was able to migrate a simple application from Glassfish to WildFly.
However, I'm having a big issue when using the HttpServletRequest.login(username, password) method: if I execute the method from a Servlet, then, I will be able to access secure servlets with no hassle, but when accessing a RestWS (implemented with RestEasy), the container will ask for authentication.
If I use the <auth-method>BASIC</auth-method> configuration, after entering the credentials, I'm able to access secured servlets and web services.
Any ideas?
Thank you!
David.
During the whole day I set up the same project on Glassfish 3.1 and TomEE and the above problem didn't happen.
I'm assuming there's a bug that prevents RestEasy from getting the authenticated user.