public class ClientCredentialsGrantValidator extends Object implements OAuth2GrantValidator
| Constructor and Description |
|---|
ClientCredentialsGrantValidator(OAuth2DataService service) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGrantType()
Indicates the grant type this handler is registered to handle.
|
void |
setOAuth2DataService(OAuth2DataService service) |
void |
validateRequest(OAuth2NormalizedRequest req)
Validates an OAuth 2.0 request.
|
@Inject public ClientCredentialsGrantValidator(OAuth2DataService service)
public void setOAuth2DataService(OAuth2DataService service)
public String getGrantType()
OAuth2GrantValidatorgetGrantType in interface OAuth2GrantValidatorpublic void validateRequest(OAuth2NormalizedRequest req) throws OAuth2Exception
OAuth2RequestValidatorvalidateRequest in interface OAuth2RequestValidatorreq - is the normalized OAuth 2.0 request to validateOAuth2Exception - if the request failed to validateCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.