Class IntegrationClientCredentialsUserValidateInterceptor
java.lang.Object
de.hybris.platform.inboundservices.interceptor.IntegrationClientCredentialsUserValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationClientCredentialsDetailsModel>
public class IntegrationClientCredentialsUserValidateInterceptor
extends Object
implements ValidateInterceptor<IntegrationClientCredentialsDetailsModel>
An interceptor that validates
IntegrationClientCredentialsDetailsModel's user is not assigned to the admin user.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(IntegrationClientCredentialsDetailsModel integrationClientCredentialsDetailsModel, InterceptorContext interceptorContext) Called in themodelService.saveAll()method.
-
Constructor Details
-
IntegrationClientCredentialsUserValidateInterceptor
public IntegrationClientCredentialsUserValidateInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(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.
-