lab 2: added GrantedAuthorityRoles to the model and updated AccountController and GrantedAuthorityTests to refere to it
lab 2: removed User stub since will use Spring Security's
lab 2: removed reference/use of old User stub from the DefaultController
lab 2: added draft of an persistent in-memory user details manager
. Will need to handle serialization/deserialization of UserDetail objects. Updated comment in JsonSerializerTests.
lab 2: added serialization tests for sprinsecurity UserDetails/User objects
lab 2: added a jackson annotated mixin for springsecurity's user object
lab 2: added mixin for SimpleGrantedAuthority; now deserialization of User objects also works
lab 2: added UserDetails mixin to specify that it should be serialized/deserialized
as a User. Updated tests to use UserDetails instead of User. All working.
lab 2: added logging of exceptions to JsonFileStore
lab 2: Added InMemoryPersistentUserDetailsManager to handle synchronization between the in-memory
and file-persistent representation of user data. Had to set up the bean in
the security.xml so that it could be properly referenced by the
authentication provider.
lab 2: added section headers to UserController.
lab 2: added method to InMemoryPersistentUserDetailsManager
to return all of the usernames, and updated UserController.getAllUsernames
impl to retrieve the usernames from that in-memory manager.
lab 2: removed users.properties file and references/usage of it since user
details management is now being done with InMemoryPersistentUserDetailsManager
lab 2:
updated manage.jsp to display the driver checkbox as checked if the logged-in
user has the driver role.
lab 2:
removed unused imports from AccountController and JsonSerializerTests.