public class AdminDatabaseUserDAO extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_PASSWORD |
static String |
SQL_QUERY_CHECK_PASSWORD |
static String |
SQL_QUERY_LOAD_USER |
static int |
USER_NOTFOUND |
static int |
USER_OK |
Constructor and Description |
---|
AdminDatabaseUserDAO() |
Modifier and Type | Method and Description |
---|---|
int |
checkPassword(String strAccessCode,
String strPassword)
Check the password of a given user into the table provided by the database authentication module
|
AdminDatabaseUser |
load(String strAccessCode,
fr.paris.lutece.portal.business.user.authentication.AdminAuthentication authenticationService)
load the data of an user from the table provided by the database authentication module
This only provides data specific to the database authentication module.
|
Collection<AdminDatabaseUser> |
selectAllDatabaseUsers(String strLastName,
String strFirstName,
String strEmail,
fr.paris.lutece.portal.business.user.authentication.AdminAuthentication authenticationService)
load the data of an user from the table provided by the database authentication module with criterias
|
fr.paris.lutece.portal.business.user.AdminUser |
selectUserPublicData(String strAccessCode,
fr.paris.lutece.portal.business.user.authentication.AdminAuthentication authenticationService)
load the data of an user from the table provided by the database authentication module
This provides public data specific to the database authentication module.
|
public static final int USER_NOTFOUND
public static final int INVALID_PASSWORD
public static final int USER_OK
public static final String SQL_QUERY_CHECK_PASSWORD
public static final String SQL_QUERY_LOAD_USER
public int checkPassword(String strAccessCode, String strPassword)
strAccessCode
- The name of the userstrPassword
- the user passwordpublic AdminDatabaseUser load(String strAccessCode, fr.paris.lutece.portal.business.user.authentication.AdminAuthentication authenticationService)
strAccessCode
- The access code of userauthenticationService
- The AdminAuthenticationpublic Collection<AdminDatabaseUser> selectAllDatabaseUsers(String strLastName, String strFirstName, String strEmail, fr.paris.lutece.portal.business.user.authentication.AdminAuthentication authenticationService)
strLastName
- The last name of userstrFirstName
- The first name of userstrEmail
- The email of userauthenticationService
- The AdminAuthenticationpublic fr.paris.lutece.portal.business.user.AdminUser selectUserPublicData(String strAccessCode, fr.paris.lutece.portal.business.user.authentication.AdminAuthentication authenticationService)
strAccessCode
- The access code of userauthenticationService
- The AdminAuthenticationCopyright © 2017 City of Paris. All rights reserved.