Spring Security Form Login Example

Learned default spring security login form and auto-configuration and configuring custom login form, success and failure URLs and handlers.

Leave a Comment

  1. The sample code given has home.jsp but nothing relates to the output when we execute the GitHub checkout, it will not work correctly.
    Can you please correct the sample to match like to show in the output?

    Reply
  2. I face the same issue, I sout the login controller to see whether it is redirecting to another page or not. I found out that it’s redirecting to the same page again and again.

    Reply
  3. Tried running the code.
    After login, the login page is being displayed again and again with no redirection to homepage.

    Reply

Leave a Comment

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.