Revision: 12535
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 18, 2009 12:34 by lucastex
Initial Code
def authenticateService def debugPrincipal = { def userPrincipal = authenticateService.principal() println userPrincipal.getUsername() //shows the current logged user username println userPrincipal.getAuthorities() //shows the current logged user authorities redirect action: list, params: params }
Initial URL
Initial Description
Initial Title
Using the Acegi AuthenticateService
Initial Tags
groovy, service
Initial Language
Groovy