|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectairline.User
public abstract class User
Represents a registered user for the airline system.
| Method Summary | |
|---|---|
abstract UserSession |
getSession(Connection connection)
A factory function producing an appropriate UserSession for this user. |
String |
getUserID()
Returns this customer's unique user ID |
boolean |
verifyPassword(String attempt)
Compares a given password attempt to the underlying password. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract UserSession getSession(Connection connection)
UserSession for this user.
UserSession.public String getUserID()
public boolean verifyPassword(String attempt)
attempt - a potential match for the password
true if parameter matches the password; false otherwise.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||