- Aug 07, 2018
-
-
Daniel Gerhardt authored
Implemented a customized WithMockUser and WithMockUserSecurityContextFactory to mock an Authentication with User and UserProfile.
-
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'
-
- Aug 04, 2018
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
- Feb 22, 2018
-
-
Daniel Gerhardt authored
-
- Aug 28, 2017
-
-
Daniel Gerhardt authored
-
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`
-
- Jan 10, 2017
-
-
Daniel Gerhardt authored
-
- Feb 05, 2016
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
- Aug 24, 2014
-
-
Daniel Gerhardt authored
* Organize imports * Add missing Override annotations * Remove trailing whitespace
-
- Jul 09, 2013
-
-
Christoph Thelen authored
Renamed TEACHER to SPEAKER to adapt roles to ARSnova client, and also added some convenience methods for role handling.
-
- Dec 06, 2012
-
-
Christoph Thelen authored
-
Christoph Thelen authored
-
- Oct 31, 2012
-
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
-
- Oct 25, 2012
-
-
Paul-Christian Volkmer authored
-
Julian Hochstetter authored
-
- Oct 24, 2012
-
-
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.
-
- Oct 17, 2012
-
-
Paul-Christian Volkmer authored
This checks if there is a user in current security context. If not, an UnauthorizedException is thrown which will result in HTTP - 401.
-