|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlib.jGroupware.users.UserDB
The main authentication database Provides routines to ensure users can be validated agaist system
| Constructor Summary | |
UserDB()
Set up internally used maps: |
|
| Method Summary | |
java.lang.Object |
createBean(int id)
Method called by Database class during a load Returns a bean for it to populate |
int |
getNewID(java.sql.Connection mySQLConnection)
Get an unused ID for use my a new bean Currently never works |
User |
login(java.sql.Connection mySQLConnection,
java.lang.String username,
java.lang.String password)
Login to the system |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UserDB()
| Method Detail |
public User login(java.sql.Connection mySQLConnection,
java.lang.String username,
java.lang.String password)
throws InvalidLoginException
mySQLConnection - Description of the Parameterusername - Usernamepassword - Password
InvalidLoginException - Indicates login failurepublic java.lang.Object createBean(int id)
createBean in interface BeanFactoryid - Id passed into new bean
public int getNewID(java.sql.Connection mySQLConnection)
throws DatabaseErrorException
getNewID in interface BeanFactorymySQLConnection - Description of the Parameter
DatabaseErrorException - Thrown if method cannot get a valid ID from the database
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||