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
 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.


Copyright © 2009 JBoss Inc.. All Rights Reserved.