I want to display the info about the user logged in like his details etc given during sign up ...how to do it ?? As iam new to grails plz help! iam using Spring security plu
Well you can use the springSecurityService to get some user information in a controller:
class MyController { def springSecurityService def myAction() { def principal = springSecurityService.principal String username = principal.username ... } }
Or in a gsp
It is a pretty general question.