lucastex on 03/18/09
Last Edited at 03/18/09 12:34pm
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}
Report this snippet Tweet
Comment:
You need to login to post a comment.