|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.social.core.oauth2.validators.DefaultResourceRequestValidator
public class DefaultResourceRequestValidator
| Constructor Summary | |
|---|---|
DefaultResourceRequestValidator(OAuth2DataService store)
|
|
| Method Summary | |
|---|---|
void |
validateRequest(OAuth2NormalizedRequest req)
Validates an OAuth 2.0 request. |
void |
validateRequestForResource(OAuth2NormalizedRequest req,
java.lang.Object resourceRequest)
TODO (Matt): implement scope handling. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public DefaultResourceRequestValidator(OAuth2DataService store)
| Method Detail |
|---|
public void validateRequest(OAuth2NormalizedRequest req)
throws OAuth2Exception
OAuth2RequestValidator
validateRequest in interface OAuth2RequestValidatorreq - is the normalized OAuth 2.0 request to validate
OAuth2Exception - if the request failed to validate
public void validateRequestForResource(OAuth2NormalizedRequest req,
java.lang.Object resourceRequest)
throws OAuth2Exception
validateRequestForResource in interface OAuth2ProtectedResourceValidatorreq - is the normalized OAuth 2.0 requestresourceRequest - identifies the resource being requested
OAuth2Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||