|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.openiddatabase.authentication.business.OpenIdDatabaseDAO
public class OpenIdDatabaseDAO
This class provides Data Access methods for authentication (role retrieval).
Constructor Summary | |
---|---|
OpenIdDatabaseDAO()
|
Method Summary | |
---|---|
void |
createGroupForUser(int nIdUser,
java.lang.String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a group to user |
void |
createRoleForUser(int nIdUser,
java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to user |
void |
deleteGroupsForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete groups for a user |
void |
deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a user |
BaseUser |
selectLuteceUserByLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find DatabaseUser by login |
java.util.Collection<BaseUser> |
selectLuteceUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Load the list of BaseUser |
java.util.ArrayList<java.lang.String> |
selectUserGroupsFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find user's groups by login |
java.util.ArrayList<java.lang.String> |
selectUserRolesFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find user's roles by login |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenIdDatabaseDAO()
Method Detail |
---|
public BaseUser selectLuteceUserByLogin(java.lang.String strLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
selectLuteceUserByLogin
in interface IManageUsers
strLogin
- the loginplugin
- The Plugin using this data access serviceauthenticationService
- the LuteceAuthentication object
public java.util.Collection<BaseUser> selectLuteceUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
BaseUser
selectLuteceUserList
in interface IManageUsers
plugin
- The Plugin using this data access service
BaseUser
public java.util.ArrayList<java.lang.String> selectUserRolesFromLogin(java.lang.String strLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectUserRolesFromLogin
in interface IManageUsers
strLogin
- the loginplugin
- The Plugin using this data access service
public void deleteRolesForUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteRolesForUser
in interface IManageUsers
nIdUser
- The id of the userplugin
- The Plugin using this data access servicepublic void createRoleForUser(int nIdUser, java.lang.String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
createRoleForUser
in interface IManageUsers
nIdUser
- The id of the userstrRoleKey
- The key of the roleplugin
- The Plugin using this data access servicepublic java.util.ArrayList<java.lang.String> selectUserGroupsFromLogin(java.lang.String strLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectUserGroupsFromLogin
in interface IManageUsers
strLogin
- The loginplugin
- The Plugin using this data access service
public void deleteGroupsForUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteGroupsForUser
in interface IManageUsers
nIdUser
- The id of the userplugin
- The Plugin using this data access servicepublic void createGroupForUser(int nIdUser, java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
createGroupForUser
in interface IManageUsers
nIdUser
- The id of the userstrGroupKey
- The key of the groupplugin
- The Plugin using this data access service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |