fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business
Interface IIdxWSSODatabaseDAO

All Known Implementing Classes:
IdxWSSODatabaseDAO

public interface IIdxWSSODatabaseDAO

Author:
Etienne

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
 

Method Detail

findUserByGuid

IdxWSSODatabaseUser findUserByGuid(String strGuid,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                   fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find users by guid

Parameters:
strGuid - the WSSO guid
plugin - The Plugin using this data access service
authenticationService - the LuteceAuthentication object
Returns:
IdxWSSODatabaseUser the user corresponding to the guid

findUserRolesFromGuid

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

Parameters:
strGuid - the WSSO guid
plugin - The Plugin using this data access service
authenticationService - the LuteceAuthentication object
Returns:
ArrayList the roles list corresponding to the guid

updateDateLastLogin

void updateDateLastLogin(String strGuid,
                         Date dateLastLogin,
                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the date of last login of a user

Parameters:
strGuid - The GUID of the user to update
dateLastLogin - The new last connection date
plugin - The plugin

findUsersList

Collection<IdxWSSODatabaseUser> findUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                              fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find users list

Parameters:
plugin - The Plugin using this data access service
authenticationService - the LuteceAuthentication object
Returns:
A Collection of users


Copyright © 2013 Mairie de Paris. All Rights Reserved.