Class UsernameModelValidator

  • All Implemented Interfaces:
    org.springframework.validation.Validator

    public class UsernameModelValidator
    extends Object
    implements org.springframework.validation.Validator
    • Constructor Detail

      • UsernameModelValidator

        public UsernameModelValidator()
      • UsernameModelValidator

        public UsernameModelValidator​(SubjectManager subjectManager,
                                      boolean isAvailable)
    • Method Detail

      • supports

        public boolean supports​(Class<?> target)
        Specified by:
        supports in interface org.springframework.validation.Validator
      • validate

        public void validate​(Object object,
                             org.springframework.validation.Errors errors)
        Specified by:
        validate in interface org.springframework.validation.Validator