public class OAuth20ClientCredentialsGrantTypeTokenRequestValidator extends OAuth20PasswordGrantTypeTokenRequestValidator
registeredServiceAccessStrategyEnforcer, servicesManager, webApplicationServiceServiceFactory| Constructor and Description |
|---|
OAuth20ClientCredentialsGrantTypeTokenRequestValidator(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactor) |
| Modifier and Type | Method and Description |
|---|---|
protected OAuth20GrantTypes |
getGrantType()
Gets grant type.
|
boolean |
supports(org.pac4j.core.context.J2EContext context)
Supports request?
|
validateInternalisGrantTypeSupportedBy, isGrantTypeSupportedBy, validatepublic OAuth20ClientCredentialsGrantTypeTokenRequestValidator(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactor)
public boolean supports(org.pac4j.core.context.J2EContext context)
OAuth20RequestValidatorsupports in interface OAuth20RequestValidatorsupports in class BaseOAuth20TokenRequestValidatorcontext - the contextprotected OAuth20GrantTypes getGrantType()
BaseOAuth20TokenRequestValidatorgetGrantType in class OAuth20PasswordGrantTypeTokenRequestValidator