org.alfresco.repo.web.scripts.facebook
Class FacebookAuthenticatorFactory.FacebookAuthenticator

java.lang.Object
  extended by 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.


Constructor Summary
FacebookAuthenticatorFactory.FacebookAuthenticator(FacebookServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)
          Construct
 
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
 

Constructor Detail

FacebookAuthenticatorFactory.FacebookAuthenticator

public FacebookAuthenticatorFactory.FacebookAuthenticator(FacebookServletRequest req,
                                                          org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)
Construct

Parameters:
authenticationService -
req -
res -
Method Detail

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.