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
      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
      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
      java.util.Collection<IdxWSSODatabaseUser> findUsersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
      Find users list
      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
    • 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 guid
        plugin - The Plugin using this data access service
        authenticationService - 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 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​(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 update
        dateLastLogin - The new last connection date
        plugin - 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 service
        authenticationService - the LuteceAuthentication object
        Returns:
        A Collection of users