Using OAuth along with spring security, grails
Posted
by
GroovyUser
on Stack Overflow
See other posts from Stack Overflow
or by GroovyUser
Published on 2012-11-16T10:58:00Z
Indexed on
2012/11/16
10:59 UTC
Read the original article
Hit count: 218
grails
|spring-security
I have grails app which runs on the spring security plugin. It works with no problem.
I wish I could give the users the way to connect with Facebook and social networking site. So I decided to use Spring Security OAuth plugin. I have configured the plugin.
Now I want user can access both via normal local account and also the OAuth authentication.
More precisely I have a controller like this:
@Secured(['IS_AUTHENTICATED_FULLY'])
def test() {
render "Home page!!!"
}
Now I want this controller to be accessed with OAuth authentication too.
Is that possible to do so?
© Stack Overflow or respective owner