com.imaginary.lwp
Interface Authenticator

All Known Implementing Classes:
JDBCAuthenticator

public abstract interface Authenticator

Authenticates a user ID/password pair. Different applications may provide their own authenticator and specify them in their LWP configuration file using the "imaginary.lwp.authenticator" property.
Last modified $Date: 1999/10/06 03:19:10 $

Version:
$Revision: 1.1 $
Author:
George Reese (borg@imaginary.com)

Method Summary
 void authenticate(java.lang.String uid, java.lang.String pw)
          Authenticates the specified user ID against the specified password.
 

Method Detail

authenticate

public void authenticate(java.lang.String uid,
                         java.lang.String pw)
                  throws AuthenticationException
Authenticates the specified user ID against the specified password.
Parameters:
uid - the user ID to authenticate
pw - the password to use for authentication
Throws:
AuthenticationException - the user ID failed to authenticate against the specified password