EiSimp / Book-Archive

BookPals
https://book-archive-production.up.railway.app/homepage
0 stars 0 forks source link

Forced redirection #26

Closed EiSimp closed 4 months ago

EiSimp commented 4 months ago

Added forced redirect

  1. Added a CustomAuthenticationProvider.java to handle the login logic and integrate it with spring security.
  2. Added detailed logging to ArchiveController to trace login and signup process and made sure that it did correctly handles form submission.
  3. Enabled detailed logging for spring security in application.properties.
  4. Included CSRF token in both login and signup .html's accidentally destroying the signup ui in the process.
  5. Created a security config page for redirection purposes.
  6. Provided spring security with the necessary info to make authorization decisions during authentication in User.java