- Timestamp:
- Mar 14, 2009, 10:04:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TaskRewrite/src/grails-app/conf/SecurityConfig.groovy
r71 r73 46 46 alwaysUseDefaultTargetUrl = true 47 47 48 //User caching, turned this off so that password changes take effect. 49 //It would appear that user is still in the session as logout/login 50 // is still required for role changes to take effect. 51 //If this option causes high database load try: 52 // import org.acegisecurity.providers.dao.DaoAuthenticationProvider 53 // import org.acegisecurity.context.SecurityContextHolder 54 // DaoAuthenticationProvider daoAuthenticationProvider 55 // def user = SecurityContextHolder.context.authentication.principal.username 56 // daoAuthenticationProvider.userCache.removeUserFromCache(user) 57 // in logout controller and perhaps on password change and role change. 58 cacheUsers = false 59 48 60 }
Note: See TracChangeset
for help on using the changeset viewer.