I am trying to setup form-based authentication for my small application. I would like to use LDAP as the user registry. I have configured LDAP and the application and WSAD to authenticate user using LDAP. When I map the role to a group in the application.xml, I get an authorization failure error. But when I map the role to a specific user, it seems to work fine. Can anyone suggest what I could be doing wrong. Any help on this would be greatly appreciated.