The use case we will use for all our examples is as follows:
- The user reaches the application or homepage of the application and clicks on a secure link (for example, login).
- The moment the user clicks on the secured link, Spring Security brings the login page.
- The login page will perform a credential check from the authentication provider; this can be plain-text, database, or similar.
- An authentication failure happens if wrong credentials are given by the user; otherwise, the user will be allowed to the secured area.
- When the user clicks on logout, they will be directed to the homepage.
The following diagram illustrates the preceding steps:
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.