lab 2: Won't need to support multiple flower shop owners/managers with
the same instance of the site so took out that checkbox from the account
management page and interface. Updated AccountController to catch
OAuthConnectionExceptions so that the application won't hang. The VM
was not connected to the Internet which revealed the fact that the
exception was not being considered.
lab 2: added tests for the SimpleGrantedAuthority.equals method to
determine whether it can be relied upon to search/match authorities.
lab 2: Added collection membership tests to GrantedAuthorityTests to
prove that it works properly, since it doesn't appear to in the
AccountController.
lab 2: implemented mechanism to add ROLE_DRIVER to a user's account.
However, requires them to log back in when they try to access a secure
page.
lab 2: On a role, or authorities, change updated authentication for
the logged in user now keeps the old credentials so that the logged-in
user will not have to log in again.
lab 2: Added comment to the spring security discussion that
hints at needing to copy the credentials between former and new
authentication tokens.
lab 2: Had tried manipulating the SPRING_SECURITY_CONTEXT attribute of
the HTTP Session in previous revisions, but it is no longer necessary.
Removed HttpSession parameters from AccountController.saveChanges and
updateAuthorities. updateAuthorities also changed to always update the
logged-in user's authorities if applicable.
lab 2: AccountController.saveChanges: removed HttpServletResponse
parameter since a redirect can be effected with spring's "redirect:"
view string command.
lab 2: updated spelling in comment in AuthorizationTokenManager.
lab 2: Added stub for JSONFileStore.
lab 2: Moved JSONFileStore stub to the kpbinc.cs462.ffds.io.model
package.
lab 2: renamed package kpbinc.cs462.ffds.io.util to kpbinc.io.util.
lab 2: Added JsonSerializer and tests, based on the BYU NLP group's
JsonSerializer in the DataProvider module of their CCASH project.
lab 2: Added deserialize method to JsonSerializer that uses a
TypeReference to handle deserialization of genericized objects. Added
test for a genericized list of String objects.