|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.IdxWSSODatabaseDAO
public class IdxWSSODatabaseDAO
This class provides Data Access methods for authentication (role retrieval).
| Field Summary | |
|---|---|
static String |
SQL_QUERY_FIND_ALL_USERS
|
static String |
SQL_QUERY_FIND_ROLES_FROM_GUID
|
static String |
SQL_QUERY_FIND_USER_BY_GUID
|
| Constructor Summary | |
|---|---|
IdxWSSODatabaseDAO()
|
|
| Method Summary | |
|---|---|
IdxWSSODatabaseUser |
findUserByGuid(String strGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find users by guid |
List<String> |
findUserRolesFromGuid(String strGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find user's roles by guid |
Collection<IdxWSSODatabaseUser> |
findUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find users list |
void |
updateDateLastLogin(String strGuid,
Date dateLastLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the date of last login of a user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SQL_QUERY_FIND_USER_BY_GUID
public static final String SQL_QUERY_FIND_ALL_USERS
public static final String SQL_QUERY_FIND_ROLES_FROM_GUID
| Constructor Detail |
|---|
public IdxWSSODatabaseDAO()
| Method Detail |
|---|
public IdxWSSODatabaseUser findUserByGuid(String strGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
findUserByGuid in interface IIdxWSSODatabaseDAOstrGuid - the WSSO guidplugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication object
public List<String> findUserRolesFromGuid(String strGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
findUserRolesFromGuid in interface IIdxWSSODatabaseDAOstrGuid - the WSSO guidplugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication object
public void updateDateLastLogin(String strGuid,
Date dateLastLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateDateLastLogin in interface IIdxWSSODatabaseDAOstrGuid - The GUID of the user to updatedateLastLogin - The new last connection dateplugin - The plugin
public Collection<IdxWSSODatabaseUser> findUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
findUsersList in interface IIdxWSSODatabaseDAOplugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||