Does spring-security-cas work with mapped User table names?
I'm using Grails 2.1.0, spring-security-core 188.8.131.52, and spring-security-cas 1.0.5 on Oracle 11g.
When I create Spring Security domain classes with:
and map table names for User and Role to avoid errors with Oracle reserved table names, I cannot log in to the application. When I try to access a secured URL, j_spring_security_check redirects to http://myhost:8080/MyApp/login/authfail?login_error=1 with the message:
grails s2-quickstart my.package User Role
Sorry, we were not able to find a user with that username and password.
I've checked that my tables contain correct records that match the username returned by CAS.
If I create another app and use:
without mapping table names in TestUser and TestRole, it works fine.
grails s2-quickstart my.package TestUser TestRole
Is this expected behavior or should I be able to map User and Role to different table names?