Class UserPasswordEncodingPreparer
java.lang.Object
de.hybris.platform.servicelayer.user.interceptors.UserPasswordEncodingPreparer
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
This prepare interceptor sets for the user the default password encoding (key is '*') if this attribute is empty.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetPasswordEncoderService(PasswordEncoderService passwordEncoderService)
-
Constructor Details
-
UserPasswordEncodingPreparer
public UserPasswordEncodingPreparer()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
setPasswordEncoderService
-