2019-10-31 21:43:47 -04:00
|
|
|
|
## Spring Security Login
|
|
|
|
|
|
2022-02-06 13:31:38 -05:00
|
|
|
|
This module contains articles about login mechanisms with Spring Security.
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
|
|
### The Course
|
|
|
|
|
The "Learn Spring Security" Classes: http://github.learnspringsecurity.com
|
|
|
|
|
|
|
|
|
|
### Relevant Articles:
|
|
|
|
|
- [Spring Security Form Login](https://www.baeldung.com/spring-security-login)
|
|
|
|
|
- [Spring Security Logout](https://www.baeldung.com/spring-security-logout)
|
|
|
|
|
- [Spring HTTP/HTTPS Channel Security](https://www.baeldung.com/spring-channel-security-https)
|
|
|
|
|
- [Spring Security – Customize the 403 Forbidden/Access Denied Page](https://www.baeldung.com/spring-security-custom-access-denied-page)
|
|
|
|
|
- [Spring Security – Redirect to the Previous URL After Login](https://www.baeldung.com/spring-security-redirect-login)
|
|
|
|
|
- [Spring Security Custom AuthenticationFailureHandler](https://www.baeldung.com/spring-security-custom-authentication-failure-handler)
|
2022-04-05 04:38:25 -04:00
|
|
|
|
- [Extra Login Fields with Spring Security](https://www.baeldung.com/spring-security-extra-login-fields)
|
2022-07-18 10:57:47 -04:00
|
|
|
|
- More articles: [[next -->]](/spring-security-modules/spring-security-web-login-2)
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
|
|
### Build the Project
|
|
|
|
|
```
|
|
|
|
|
mvn clean install
|
|
|
|
|
```
|
2022-02-06 13:31:38 -05:00
|
|
|
|
|
|
|
|
|
### Run the Project
|
|
|
|
|
|
|
|
|
|
- Run the application using Maven Cargo plugin.
|
|
|
|
|
```
|
|
|
|
|
mvn cargo:run
|
|
|
|
|
```
|
|
|
|
|
- Go to the login page at http://localhost:8082/spring-security-web-login/login.html
|
|
|
|
|
- Login using ```user1/user1Pass``` details.
|