How to rename the table persistent_logins in Spring-Security
问题 The default table name that manages remember-me authentication in Spring Security is "persistent_logins". Due to Database naming conventions, I need to rename this table " persistent_logins " to " T_PERSISTENT_LOGINS ". Any help please. 回答1: You'll need to write your own implementation of JdbcTokenRepositoryImpl Create a class extending JdbcDaoSupport and implementing PersistentTokenRepository Configure this class as a bean in your Spring Application Context Config, then set it as the token