Class IntegrationClientCredentialsAuthorizedGrantTypesValidateInterceptor
java.lang.Object
de.hybris.platform.inboundservices.interceptor.IntegrationClientCredentialsAuthorizedGrantTypesValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationClientCredentialsDetailsModel>
public class IntegrationClientCredentialsAuthorizedGrantTypesValidateInterceptor
extends Object
implements ValidateInterceptor<IntegrationClientCredentialsDetailsModel>
An interceptor that validates
IntegrationClientCredentialsDetailsModel's authorizedGrantTypes is equal to the expected
default value.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(@NotNull IntegrationClientCredentialsDetailsModel integrationClientCredentialsDetailsModel, InterceptorContext interceptorContext) Called in themodelService.saveAll()method.
-
Constructor Details
-
IntegrationClientCredentialsAuthorizedGrantTypesValidateInterceptor
public IntegrationClientCredentialsAuthorizedGrantTypesValidateInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(@NotNull @NotNull IntegrationClientCredentialsDetailsModel integrationClientCredentialsDetailsModel, InterceptorContext interceptorContext) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<IntegrationClientCredentialsDetailsModel>- Parameters:
integrationClientCredentialsDetailsModel- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-