|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectai1.serverjava.numguess.model.LoginBean
Handles authentication. Userid and password are hardcoded to USER and PASS. No other combinations are valid.
| Constructor Summary | |
LoginBean()
|
|
| Method Summary | |
boolean |
authenticate(java.lang.String userID,
java.lang.String password)
Checks userid and password. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoginBean()
| Method Detail |
public boolean authenticate(java.lang.String userID,
java.lang.String password)
userID - The userID to authenticate.password - The password to authenticate.
true if authentication succeeded.
false if authentication failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||