Changeset 127 for trunk/grails-app/conf/SecurityConfig.groovy
- Timestamp:
- May 6, 2009, 3:40:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/SecurityConfig.groovy
r126 r127 1 1 security { 2 3 def authenticateService 2 4 3 5 // see DefaultSecurityConfig.groovy for all settable/overridable properties … … 46 48 47 49 //We always want to go to the home page so that bookmarks are not used. 48 defaultTargetUrl = '/appCore/ home'50 defaultTargetUrl = '/appCore/welcome' 49 51 alwaysUseDefaultTargetUrl = true 50 52 … … 61 63 cacheUsers = false 62 64 65 // //List for and events and run the closure(s) that follow. 66 // //Unfortunately the session is not available yet so many things can't be done here, us an defaultTargetUrl and controller. 67 // useSecurityEventListener = true 68 // 69 // onAuthenticationSuccessEvent = { e, appCtx -> 70 // def p = e.source.principal 71 // def personInstance = Person.findByLoginName(p.username) 72 // println p.username 73 // println personInstance.loginName 74 // println personInstance.firstName 75 // } 76 63 77 }
Note: See TracChangeset
for help on using the changeset viewer.