Does spring-security-cas work with mapped User table names?
I'm using Grails 2.1.0, spring-security-core 1.2.7.3, and spring-security-cas 1.0.5 on Oracle 11g.
When I create Spring Security domain classes with:
Code:
grails s2-quickstart my.package User Role
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:
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:
Code:
grails s2-quickstart my.package TestUser TestRole
without mapping table names in TestUser and TestRole, it works fine.
Is this expected behavior or should I be able to map User and Role to different table names?