Class UserPasswordEncodingValidator
- java.lang.Object
-
- de.hybris.platform.servicelayer.user.interceptors.UserPasswordEncodingValidator
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
public class UserPasswordEncodingValidator extends java.lang.Object implements ValidateInterceptor
This validation interceptor checks if for the user the given password encoding (seeUserModel.getPasswordEncoding()) is known to the system.
-
-
Constructor Summary
Constructors Constructor Description UserPasswordEncodingValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(java.lang.Object model, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetPasswordEncoderService(PasswordEncoderService passwordEncoderService)
-
-
-
Method Detail
-
onValidate
public void onValidate(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
setPasswordEncoderService
public void setPasswordEncoderService(PasswordEncoderService passwordEncoderService)
-
-