|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.imaginary.lwp.JDBCAuthenticator
Implements the Authenticator
interface to authenticate
a user ID/password against values stored in a database. This class
expects the following table structure:
LWP_USER |
---|
USER_ID (VARCHAR(25)) |
PASSWORD (VARCHAR(25)) |
Authenticator
implementation.
Field Summary | |
static java.lang.String |
SELECT
The SQL SELECT statement. |
Constructor Summary | |
JDBCAuthenticator()
|
Method Summary | |
void |
authenticate(java.lang.String uid,
java.lang.String pw)
Authenticates the specified user ID against the specified password. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String SELECT
Constructor Detail |
public JDBCAuthenticator()
Method Detail |
public void authenticate(java.lang.String uid, java.lang.String pw) throws AuthenticationException
uid
- the user ID to authenticatepw
- the password to use for authentication
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |