org.exoplatform.social.opensocial.auth
Class ExoOAuthAuthenticationHandler

java.lang.Object
  extended by org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
      extended by org.exoplatform.social.opensocial.auth.ExoOAuthAuthenticationHandler
All Implemented Interfaces:
org.apache.shindig.auth.AuthenticationHandler

public class ExoOAuthAuthenticationHandler
extends org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler

Created by IntelliJ IDEA. User: zun Date: Jul 7, 2010 Time: 5:34:35 PM


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.auth.AuthenticationHandler
org.apache.shindig.auth.AuthenticationHandler.InvalidAuthenticationException
 
Field Summary
 
Fields inherited from class org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
REQUESTOR_ID_PARAM
 
Fields inherited from interface org.apache.shindig.auth.AuthenticationHandler
STASHED_BODY
 
Constructor Summary
ExoOAuthAuthenticationHandler(org.apache.shindig.social.opensocial.oauth.OAuthDataStore store, boolean allowLegacyBodySigning)
           
 
Method Summary
 String getName()
           
 String getPortalContainerName()
           
 org.apache.shindig.auth.SecurityToken getSecurityTokenFromRequest(javax.servlet.http.HttpServletRequest request)
           
 String getWWWAuthenticateHeader(String realm)
           
 
Methods inherited from class org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
getConsumer, getOAuthEntry, getParameter, getTokenFromVerifiedRequest, readBody, readBodyString, verifyBodyHash, verifyMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoOAuthAuthenticationHandler

@Inject
public ExoOAuthAuthenticationHandler(org.apache.shindig.social.opensocial.oauth.OAuthDataStore store,
                                            boolean allowLegacyBodySigning)
Method Detail

getName

public String getName()
Specified by:
getName in interface org.apache.shindig.auth.AuthenticationHandler
Overrides:
getName in class org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler

getPortalContainerName

public String getPortalContainerName()

getSecurityTokenFromRequest

public org.apache.shindig.auth.SecurityToken getSecurityTokenFromRequest(javax.servlet.http.HttpServletRequest request)
                                                                  throws org.apache.shindig.auth.AuthenticationHandler.InvalidAuthenticationException
Specified by:
getSecurityTokenFromRequest in interface org.apache.shindig.auth.AuthenticationHandler
Overrides:
getSecurityTokenFromRequest in class org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
Throws:
org.apache.shindig.auth.AuthenticationHandler.InvalidAuthenticationException

getWWWAuthenticateHeader

public String getWWWAuthenticateHeader(String realm)
Specified by:
getWWWAuthenticateHeader in interface org.apache.shindig.auth.AuthenticationHandler
Overrides:
getWWWAuthenticateHeader in class org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.