Interface IIdxWSSODatabaseDAO
-
- All Known Implementing Classes:
IdxWSSODatabaseDAO
public interface IIdxWSSODatabaseDAO- Author:
- Etienne
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdxWSSODatabaseUserfindUserByGuid(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)Find users by guidjava.util.List<java.lang.String>findUserRolesFromGuid(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)Find user's roles by guidjava.util.Collection<IdxWSSODatabaseUser>findUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)Find users listvoidupdateDateLastLogin(java.lang.String strGuid, java.util.Date dateLastLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the date of last login of a user
-
-
-
Method Detail
-
findUserByGuid
IdxWSSODatabaseUser findUserByGuid(java.lang.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 guidplugin- The Plugin using this data access serviceauthenticationService- the LuteceAuthentication object- Returns:
- IdxWSSODatabaseUser the user corresponding to the guid
-
findUserRolesFromGuid
java.util.List<java.lang.String> findUserRolesFromGuid(java.lang.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 guidplugin- The Plugin using this data access serviceauthenticationService- the LuteceAuthentication object- Returns:
- ArrayList the roles list corresponding to the guid
-
updateDateLastLogin
void updateDateLastLogin(java.lang.String strGuid, java.util.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 updatedateLastLogin- The new last connection dateplugin- The plugin
-
findUsersList
java.util.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 serviceauthenticationService- the LuteceAuthentication object- Returns:
- A Collection of users
-
-