开发者

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜