apollo.Session
Interface PasswordAuthenticator


public interface PasswordAuthenticator

This is the interface for password authentication. You will need to create a password authenticator so the session manager can authenticate passwords. You will need to atleast stub this interface.


Method Summary
 boolean checkPassword(java.lang.String username, java.lang.String password)
          This is called from the sessionManager to check to see if the password is valid.
 

Method Detail

checkPassword

public boolean checkPassword(java.lang.String username,
                             java.lang.String password)
This is called from the sessionManager to check to see if the password is valid.
Parameters:
username - Username to authenticate
password - Password to authenticate