gs-securing-web
gs-securing-web copied to clipboard
Securing a Web Application :: Learn how to protect your web application with Spring Security.
See: - [WebSecurityConfigurerAdapter deprecation](https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter) - [`authorizeHttpRequests`](https://docs.spring.io/spring-security/reference/servlet/authorization/authorize-http-requests.html)
Documentation and the code adds `org.springframework.security:spring-security-test` as dependency to main code in gradle build but it should be a test dependency like it is in maven. This PR fixes that.
Hi, I was developing a personal project and the IDE shows that WebSecurityConfigurerAdapter is deprecated.  I saw it seems true: https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter Could you update this guide? Thanks
Change the example to reflect the changes according to https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter
Please review the changes and merge
I get this error when i hit localhost:9999/login -- I have set the port as `9999` Any clues .. ``` 2020-12-10 16:21:19.493 DEBUG 6120 --- [nio-9999-exec-1] o.s.w.servlet.view.InternalResourceView : View name...
Example does not work. localhost:8080/login always returns invalid username and password If you are going to put something on Github you need to make sure the code works first.
desc: 1. visit http://localhost:8080/login in chorme ,then sign in with 'user' and 'password'。 2. this chrome is not redirect to http://localhost:8080/hello ,it still in http://localhost:8080/login ,and the input is empty...
Hi, I am trying to run the 'completed' demo in my local. I am expecting to go to the 'hello' page after login, but it redirect to a 'Error Page'....