|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.social.core.oauth2.OAuth2AuthenticationHandler
public class OAuth2AuthenticationHandler
Authentication handler for OAuth 2.0. Authenticates requests for resources using one of the OAuth 2.0 flows.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.shindig.auth.AuthenticationHandler |
|---|
AuthenticationHandler.InvalidAuthenticationException |
| Field Summary |
|---|
| Fields inherited from interface org.apache.shindig.auth.AuthenticationHandler |
|---|
STASHED_BODY |
| Constructor Summary | |
|---|---|
OAuth2AuthenticationHandler(OAuth2Service store)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
SecurityToken |
getSecurityTokenFromRequest(javax.servlet.http.HttpServletRequest request)
Only denies authentication when an invalid bearer token is received. |
java.lang.String |
getWWWAuthenticateHeader(java.lang.String realm)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public OAuth2AuthenticationHandler(OAuth2Service store)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface AuthenticationHandler
public SecurityToken getSecurityTokenFromRequest(javax.servlet.http.HttpServletRequest request)
throws AuthenticationHandler.InvalidAuthenticationException
getSecurityTokenFromRequest in interface AuthenticationHandlerAuthenticationHandler.InvalidAuthenticationExceptionpublic java.lang.String getWWWAuthenticateHeader(java.lang.String realm)
getWWWAuthenticateHeader in interface AuthenticationHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||