PersistedUserValidator

public class PersistedUserValidator implements AbstractValidator

Validates presence of admin user registration fields. Checks existence of user with identical name Checks existence of user with identical email Checks that password and confirmed password field are same.

Constructors

PersistedUserValidator

public PersistedUserValidator(MotechUserService userService)

Methods

validate

public void validate(StartupForm target, List<String> errors, ConfigSource configSource)