I've created a new application and installed spring-security-core and spring-security-ui.
I ran s2-quickstart and created the MyUser and MyRole classes. The application creates a couple of users at bootstrap, and while the users create successfully, and the contents of the database look great, the login controller won't let me log in when I try to access a secured resource. It gives the (very attractive) popup:
There are no exceptions thrown, and nothing logged. My first thought was that the output of encodePassword() was being mangled on the way in to the database, but the contents of the password field in the DB exactly match the string that is output by springSecurityService.encodePassword().
Sorry, we were not able to find a user with that username and password.
If I follow the 'forgot password' workflow and change the user's password based on being e-mailed a link, I am left in a 'logged-in' session, and I can navigate the application with the roles I expect. But if I log out...I can't get logged back in.
Any quick pointers on the next place to look for the problem?
Thanks in advance.