org.codehaus.groovy.grails.plugins.springsecurity.facebook
Class FacebookAuthenticationProvider
java.lang.Object
org.codehaus.groovy.grails.plugins.springsecurity.facebook.FacebookAuthenticationProvider
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.security.providers.AuthenticationProvider
public class FacebookAuthenticationProvider
- extends Object
- implements org.springframework.security.providers.AuthenticationProvider, org.springframework.beans.factory.InitializingBean
Finalizes the authentication process by populating the local authorities for the authenticated user.
- Author:
- Burt Beckwith
Method Summary |
void |
afterPropertiesSet()
|
org.springframework.security.Authentication |
authenticate(org.springframework.security.Authentication authentication)
|
void |
setUserDetailsService(org.springframework.security.userdetails.UserDetailsService userDetailsService)
Dependency injection for the user detail service. |
boolean |
supports(Class authentication)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacebookAuthenticationProvider
public FacebookAuthenticationProvider()
authenticate
public org.springframework.security.Authentication authenticate(org.springframework.security.Authentication authentication)
throws org.springframework.security.AuthenticationException
-
- Specified by:
authenticate
in interface org.springframework.security.providers.AuthenticationProvider
- Throws:
org.springframework.security.AuthenticationException
- See Also:
AuthenticationProvider.authenticate(
org.springframework.security.Authentication)
setUserDetailsService
public void setUserDetailsService(org.springframework.security.userdetails.UserDetailsService userDetailsService)
- Dependency injection for the user detail service.
- Parameters:
userDetailsService
- the service
supports
public boolean supports(Class authentication)
-
- Specified by:
supports
in interface org.springframework.security.providers.AuthenticationProvider
- See Also:
AuthenticationProvider.supports(java.lang.Class)
afterPropertiesSet
public void afterPropertiesSet()
-
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- See Also:
InitializingBean.afterPropertiesSet()