Class DisableLoginForImportedUserInterceptor
java.lang.Object
de.hybris.platform.servicelayer.interceptor.DisableLoginForImportedUserInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<UserModel>
public class DisableLoginForImportedUserInterceptor
extends Object
implements PrepareInterceptor<UserModel>
-
Constructor Summary
ConstructorsConstructorDescriptionDisableLoginForImportedUserInterceptor(SessionService sessionService, PasswordEncoderService passwordEncoderService) -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(UserModel user, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
DisableLoginForImportedUserInterceptor
public DisableLoginForImportedUserInterceptor(SessionService sessionService, PasswordEncoderService passwordEncoderService)
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<UserModel>- Parameters:
user- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-