org.exoplatform.social.opensocial.auth
Class ExoOAuthAuthenticationHandler
java.lang.Object
org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
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 classes/interfaces inherited from interface org.apache.shindig.auth.AuthenticationHandler |
org.apache.shindig.auth.AuthenticationHandler.InvalidAuthenticationException |
| 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)
|
| 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 |
ExoOAuthAuthenticationHandler
@Inject
public ExoOAuthAuthenticationHandler(org.apache.shindig.social.opensocial.oauth.OAuthDataStore store,
boolean allowLegacyBodySigning)
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 © 2013 eXo Platform SAS. All Rights Reserved.