Class UsernameModelValidator
- java.lang.Object
-
- com.tetsuwantech.atom.web.authentication.UsernameModelValidator
-
- All Implemented Interfaces:
org.springframework.validation.Validator
public class UsernameModelValidator extends Object implements org.springframework.validation.Validator
-
-
Constructor Summary
Constructors Constructor Description UsernameModelValidator()
UsernameModelValidator(SubjectManager subjectManager, boolean isAvailable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supports(Class<?> target)
void
validate(Object object, org.springframework.validation.Errors errors)
-
-
-
Constructor Detail
-
UsernameModelValidator
public UsernameModelValidator()
-
UsernameModelValidator
public UsernameModelValidator(SubjectManager subjectManager, boolean isAvailable)
-
-
Method Detail
-
supports
public boolean supports(Class<?> target)
- Specified by:
supports
in interfaceorg.springframework.validation.Validator
-
validate
public void validate(Object object, org.springframework.validation.Errors errors)
- Specified by:
validate
in interfaceorg.springframework.validation.Validator
-
-