Skip to content
Snippets Groups Projects
  1. Aug 07, 2018
    • Daniel Gerhardt's avatar
      Adjust testing to reflect changes to authentication handling · 610d0bb0
      Daniel Gerhardt authored
      Implemented a customized WithMockUser and
      WithMockUserSecurityContextFactory to mock an Authentication with User
      and UserProfile.
      610d0bb0
    • Daniel Gerhardt's avatar
      Refactor authentication management · 18e8d1c1
      Daniel Gerhardt authored
      * AuthenticationProvider-agnostic User object allows access to common
        user attributes: userId, loginId, authProvider, etc.
      * Auto-create UserProfiles for external accounts
      * Use userId (instead of loginId) for permission checks
      * Use custom implementation for Pac4j integration
        (remove org.pac4j.spring-security-pac4j)
      * Move authentication logic from controller to service layer
      * Remove user room role handling
      * Rename targetDomainType 'session' to 'room'
      18e8d1c1
  2. Aug 04, 2018
  3. Feb 22, 2018
  4. Aug 28, 2017
    • Daniel Gerhardt's avatar
    • Daniel Gerhardt's avatar
      Refactor package and class hierarchy · bbf2464e
      Daniel Gerhardt authored
      * Moved classes from `de.thm.arsnova` root package.
      * New util package
      * Do not start interface names with `I`. Appended `Impl` to the
        implementing class instead.
      * Renamed learning progress classes to score and move them from
        `.domain` to a new `.services.score` package.
      * Do not capitalize acronyms in class names:
          * CASLogoutSuccessHandler -> CasLogoutSuccessHandler
          * SocketIO* -> Socketio*
      * Renamed `.socket` package to `.websocket`
      bbf2464e
  5. Jan 10, 2017
  6. Feb 05, 2016
  7. Aug 24, 2014
  8. Jul 09, 2013
  9. Dec 06, 2012
  10. Oct 31, 2012
  11. Oct 25, 2012
  12. Oct 24, 2012
    • Paul-Christian Volkmer's avatar
      Put all user relevant session information into UserService · 26b343e9
      Paul-Christian Volkmer authored
      All relevant information about users (e.g. session mebership) are
      accessible via UserService.
      The method IUserService::getCurrentUser provides information about
      the actual logged in user. If no user is logged in, this method will
      throw a UnauthorizedException which will end up in 401 HTTP error.
      26b343e9
  13. Oct 17, 2012