Using @Secured Annotation causes IS_FULLY_AUTHENTICATED problem in grails
Posted
by TripWired
on Stack Overflow
See other posts from Stack Overflow
or by TripWired
Published on 2010-05-13T16:47:18Z
Indexed on
2010/05/18
21:20 UTC
Read the original article
Hit count: 242
I'm using Acegi/Spring Security in grails and when i use the annotations like @Secured(['ROLE_ADMIN']) it denies my login even though the user is part of ROLE_ADMIN.
In looking through the login is it seems that it's getting an IS_AUTHENTICATED_FULLY role also but I have never added that to a page so i'm not sure how to bypass that. I read somewhere to preauthorize the user, but i'm not sure how to do that with grails.
© Stack Overflow or respective owner