- Apr 25, 2017
-
-
Daniel Gerhardt authored
-
- Feb 14, 2017
-
-
Daniel Gerhardt authored
* Remove unused code * Optimize imports (group 10+ and static imports) * Remove redundant variable assignments * Replace explicit type parameters with <> * Remove redundant catch blocks * Use varargs instead of explicit array instantiation * Weaken visibility of methods and fields * Simplify conditions * Do not use StringBuilder for simple concatenations * Fix code style * Remove invalid Javadoc
-
- Jan 10, 2017
-
-
Daniel Gerhardt authored
-
- Feb 05, 2016
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
- Feb 19, 2015
-
-
Daniel Gerhardt authored
-
- Aug 21, 2014
-
-
- Jun 02, 2014
-
-
Paul-Christian Volkmer authored
This will send HTTP 501 NOT IMPLEMENTED error in case connector client is used and not available.
-
- May 28, 2014
-
-
Paul-Christian Volkmer authored
-
- May 26, 2014
-
-
Paul-Christian Volkmer authored
-
- May 21, 2014
-
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
Spring security based permission check will do this for us.
-
Paul-Christian Volkmer authored
Permission handling is the same as with removed Authorized annotation
-
Paul-Christian Volkmer authored
-
- May 20, 2014
-
-
Paul-Christian Volkmer authored
-
- May 19, 2014
-
-
Paul-Christian Volkmer authored
-
- 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.
-
- Feb 19, 2013
-
-
Daniel Gerhardt authored
-
- Feb 12, 2013
-
-
Paul-Christian Volkmer authored
-
- Oct 31, 2012
-
-
Paul-Christian Volkmer authored
-
- Oct 29, 2012
-
-
Paul-Christian Volkmer authored
-
- Oct 25, 2012
-
-
Paul-Christian Volkmer 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.
-
Paul-Christian Volkmer authored
-
- Oct 17, 2012
-
-
Christoph Thelen authored
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
Use this method to implement further checks on session membership. The old HTTP code assert should never be reached because an UnauthroizedException should have been thrown first.
-
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.
-
Paul-Christian Volkmer authored
This patch uses AbstractController class to add exception handlers into controllers. These handlers are used to detect some runtime exceptions which can be thrown in any layer e.g. DAO or service layer. They recognize NotFoundException and ForbiddenException. Test classes are able to check if any of these exceptions are thrown during runtime.
-
Paul-Christian Volkmer authored
-
- Oct 16, 2012
-
-
Paul-Christian Volkmer authored
If a session was not found in database this will result in http 404, if the session is not accessable for the current user the request will result in http 403. The old behavior was to check for null. This was the response if the session was not found or the current user could not access this session (not owner and inactive sessions). Both ended up with http 404 - not found.
-
- Sep 19, 2012
-
-
Paul-Christian Volkmer authored
Old tests are ignored because they allways fail with unknown reason. The new tests are very simple and there is a lot of work to be done to have a fully tested application.
-