Get the username of the currently logged in user, inside a controller
Add an alias to the authentication-manager.
Will be needed for testing with JUnit.
Add and update dependencies to work with JUnit testing.
Finally a single working test
Adding test to check forbidden part of the security
Spring goes nope on the foridden part, must manually catch the denied
acception.
Refactor of the test, put the common stuff in the Before-method.
Remove unneeded checks in the forbidden test + we need to make this test
a bit more robust
Merge remote-tracking branch 'origin/master' into Authentication
Create an alternative (and better) test class for the security.
Adding basic class variables and annotations
Load the application framework in the mock
Testing the to see if a secured page is actually being secured
REFACTOR: 
 * adding this to class variables
 * moving secured page and login url into a class variable
Add method to test is an unauthorized person gets booted from pages he
isn't allowed to visit.
REFACTOR: DRY
Add method to test that unsecured pages still work
Add method to test if unsecured pages still work when a user is logged
in.
Update comment
Spring supports now remembering of logins over browser closures