lab 3: shop: InMemoryPersistentUserDetailsManager now
request the fileStoreRelativePath argument in the constructor instead of using
a static, hard-coded class variable. Updated security.xml to properly init
the InMemoryPersistentUserDetailsManager with the file store's relative path.
lab 3: shop: removed unused imports and comments from
InMemoryPersistentUserDetailsManager since it is configured with a spring
beans.xml entry instead of via component scanning.
lab 3: moved InMemoryPersistentUserDetailsManager from shop to shared
and updated references to it; also updated shared version to 0.3 and added
a description entity describing what was added to shared in each version.
lab 3: moved LoggedInUserContext from shop to shared (from shop.controller to
shared.session package), updated references to it, updated component scan in
ffds-servlet, and updated the shared pom description.
lab 3: renamed shared.session package to shared.controller.context
since the LoggedInUserContext is request-scoped rather than session-scoped,
even though it accesses the session via SecurityContextHolder.
lab 3: updated shop project settings to reference source code in shared
for use during debugging.
lab 3: renamed ApplicationConstants to CommonApplicationConstants, had to
update the shop signin page to reference the commonApplicationConstants bean
since it is apparently idenfied by the class name instead of the variable
name in LoginController.
lab 3: driver: added LoginController and signin.jsp, updated the servlet
configuration so that the LoggedInUserContext and CommonApplicationConstants
would be autowired properly, and updated the pom to reference shared 0.3.
lab 3: driver: setup the spring context loading listener and spring security
filter chain, plus added the security.xml definition, and a default admin
user's details in stores/userdetails.json.
lab 3: added SharedBaseController to shared and made BaseController in shop
extend it.
lab 3: renamed SharedBaseController to SharedBaseSiteContextController
lab 3: shop: renamed BaseController to ShopBaseSiteContextController.
lab 3: driver: added DriverBaseSiteContextController and made the
DefaultController and LoginController extend from it.
lab 3: driver: added navigation.jsp and included in the pagetemplate,
updated LoginController to redirect to the main page on successful login.
lab 3: driver: added sign-out
lab 3: driver: changed signin and signout paths to be under secure/accounts,
and reworked the verbs to get rid of 'query' when retrieving the signin page.
Will change the LoginController to AccountController next.
lab 3: driver: renamed LoginController to AccountsController.
lab 3: driver: renamed methods in AccountsController to make them more
self-documenting.
lab 3: driver: added registration controls, registration page, link to
the page in the site navigation, and set up the security filter chain to
allow requests through to the registration page.
lab 3: driver: moved the signin.jsp page from the views directory to the
views/accounts directory.