org.alfresco.repo.web.scripts.facebook
Class FacebookAuthenticatorFactory.FacebookAuthenticator
java.lang.Object
org.alfresco.repo.web.scripts.facebook.FacebookAuthenticatorFactory.FacebookAuthenticator
- All Implemented Interfaces:
- org.springframework.extensions.webscripts.Authenticator
- Enclosing class:
- FacebookAuthenticatorFactory
public class FacebookAuthenticatorFactory.FacebookAuthenticator
- extends java.lang.Object
- implements org.springframework.extensions.webscripts.Authenticator
Web Script Authenticator that supports Facebook authentication
mechanism.
Upon success, the request is authenticated as the Facebook User Id.
Method Summary |
boolean |
authenticate(org.springframework.extensions.webscripts.Description.RequiredAuthentication required,
boolean isGuest)
|
boolean |
emptyCredentials()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacebookAuthenticatorFactory.FacebookAuthenticator
public FacebookAuthenticatorFactory.FacebookAuthenticator(FacebookServletRequest req,
org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)
- Construct
- Parameters:
authenticationService
- req
- res
-
authenticate
public boolean authenticate(org.springframework.extensions.webscripts.Description.RequiredAuthentication required,
boolean isGuest)
- Specified by:
authenticate
in interface org.springframework.extensions.webscripts.Authenticator
emptyCredentials
public boolean emptyCredentials()
- Specified by:
emptyCredentials
in interface org.springframework.extensions.webscripts.Authenticator
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.