Package org.jboss.security.auth.spi
Interface InputValidator
-
public interface InputValidator
Interface that must be implemented by login module input validators.
- Author:
- Stefan Guilhen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validateUsernameAndPassword(String username, String password)
Validates the specified username and password.
-
-
-
Method Detail
-
validateUsernameAndPassword
void validateUsernameAndPassword(String username, String password) throws InputValidationException
Validates the specified username and password.
- Parameters:
username
- the username to be validated.password
- the password to be validated.- Throws:
InputValidationException
- if the validation process considers the username and/or the password invalid.
-
-