开发者

Spring3 Security Framework, Where do I set Spring Security Login?

开发者 https://www.devze.com 2023-02-19 21:34 出处:网络
I am building my first progject with Spring3 Security Framework, Where do I set Spring Security Login??

I am building my first progject with Spring3 Security Framework, Where do I set Spring Security Login??

If I got one of the pages that needs to be login I get this error

Redirecting to 'http://localhost:8080/MySpring/spring_security_login

My login page is at http://localhost:8080/MySpr开发者_如何学Cing/Login/add.html


Put it in the sec:form tag in the security setup. For you, it would be:

<form-login login-page="/Login/add.html"/>

0

精彩评论

暂无评论...
验证码 换一张
取 消