public final class IdxWSSODatabaseHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addRoleForProfil(String codeProfil,
String codeRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add role for a profil
|
static void |
addUserForProfil(int wssoUserId,
String codeProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add user for a profil
|
static List<String> |
findRolesFromProfil(String codeProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find roles by a profil
|
static IdxWSSODatabaseUser |
findUserByGuid(String strGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find users by guid
|
static 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
|
static Collection<IdxWSSODatabaseUser> |
findUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find users by guid
|
static List<WssoUser> |
findWssoUsersForProfil(String codeProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find users for a profil
|
static void |
removeProfilsForUser(int wssoUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove profils for a user
|
static void |
removeRolesForProfil(String codeProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove roles fora profil
|
static void |
removeUserForProfil(int wssoUserId,
String codeProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove user for a profil
|
static void |
updateDateLastLogin(String strGuid,
Date dateLastLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the last login date of a user
|
public static IdxWSSODatabaseUser findUserByGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
strGuid - the WSSO guidplugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication objectpublic static List<String> findUserRolesFromGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
strGuid - the WSSO guidplugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication objectpublic static void updateDateLastLogin(String strGuid, Date dateLastLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strGuid - The GUID of the user to updatedateLastLogin - New date of last connectionplugin - The pluginpublic static Collection<IdxWSSODatabaseUser> findUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
plugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication objectpublic static List<String> findRolesFromProfil(String codeProfil, fr.paris.lutece.portal.service.plugin.Plugin plugin)
codeProfil - the code of the profilplugin - the current pluginpublic static void removeRolesForProfil(String codeProfil, fr.paris.lutece.portal.service.plugin.Plugin plugin)
codeProfil - the code of the profilplugin - the current pluginpublic static void addRoleForProfil(String codeProfil, String codeRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
codeProfil - code of the profilcodeRole - the code of the roleplugin - the current profilpublic static List<WssoUser> findWssoUsersForProfil(String codeProfil, fr.paris.lutece.portal.service.plugin.Plugin plugin)
codeProfil - code of the profilplugin - the current pluginpublic static void addUserForProfil(int wssoUserId,
String codeProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
wssoUserId - the user idcodeProfil - code of the profilplugin - the current pluginpublic static void removeUserForProfil(int wssoUserId,
String codeProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
wssoUserId - the user idcodeProfil - code of the profilplugin - the current pluginpublic static void removeProfilsForUser(int wssoUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
wssoUserId - the user idplugin - the current pluginCopyright © 2018 City of Paris. All rights reserved.