public interface ILdapDatabaseDAO
Modifier and Type | Method and Description |
---|---|
void |
createRoleForUser(int nIdUser,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to user
|
void |
deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a user
|
LDAPDatabaseUser |
selectLuteceUserByGuid(String strLdapGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find users by guid
|
ArrayList<String> |
selectUserGuidFromRole(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find user's guid by role key
|
Collection<LDAPDatabaseUser> |
selectUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Load the list of LDAPDatabaseUser
|
ArrayList<String> |
selectUserRolesFromGuid(String strGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find user's roles by guid
|
LDAPDatabaseUser selectLuteceUserByGuid(String strLdapGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
strLdapGuid
- the Ldap guidplugin
- The Plugin using this data access serviceauthenticationService
- the LuteceAuthentication objectArrayList<String> selectUserRolesFromGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strGuid
- the Ldap guidplugin
- The Plugin using this data access serviceArrayList<String> selectUserGuidFromRole(String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strRoleKey
- the Lutece Role Keyplugin
- The Plugin using this data access servicevoid deleteRolesForUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser
- The id of the userplugin
- The Plugin using this data access servicevoid createRoleForUser(int nIdUser, String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser
- The id of the userstrRoleKey
- The key of the roleplugin
- The Plugin using this data access serviceCollection<LDAPDatabaseUser> selectUserList(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 objectCopyright © 2018 City of Paris. All rights reserved.