java 用于登录的简单易懂的 spring 应用程序

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15469597/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 19:43:12  来源:igfitidea点击:

simple and understandable spring application for login

javaspringspring-mvcspring-security

提问by Java Questions

i am very new to spring and started to learn today only, i was searching for a simple login application which will explain the flow of the application off course spring too.

我对 spring 很陌生,今天才开始学习,我正在寻找一个简单的登录应用程序,它也将解释应用程序在 spring 之外的流程。

I am really unable to find one when i googled few of them are :

当我用谷歌搜索其中一些时,我真的无法找到一个:

  1. http://viralpatel.net/blogs/tutorial-spring-3-mvc-introduction-spring-mvc-framework/
  2. http://www.tutorialspoint.com/spring/spring_mvc_hello_world_example.htm
  1. http://viralpatel.net/blogs/tutorial-spring-3-mvc-introduction-spring-mvc-framework/
  2. http://www.tutorialspoint.com/spring/spring_mvc_hello_world_example.htm

etc..

等等..

Please do not downvote or close this question as this will help not only me but also many.

请不要否决或关闭这个问题,因为这不仅对我有帮助,对很多人也有帮助。

Thanks and Best Regards

感谢和最好的问候

采纳答案by YROjha

For simple Login Applications:

对于简单的登录应用程序

Spring-security-form-login-example:mkyong

Spring-security-form-login-example:mkyong

spring-mvc-login-example:roseindia

spring-mvc-login-example:roseindia

For introductory tutorial+ demo Example+ suggested books:
Spring MVC Framework with Example javabeat.net

对于介绍性教程+演示示例+推荐书籍
Spring MVC Framework with Example javabeat.net

May be this question and suggested answer can also be useful:
step-by-step-login-example-using-spring-security-3-0-with-hdbc:stackoverflow

可能是这个问题,建议的答案也可能有用:
step-by-step-login-example-using-spring-security-3-0-with-hdbc:stackoverflow

For beginners, they are little easy to start. You can google these tutorial easily.

对于初学者来说,它们不太容易上手。你可以很容易地谷歌这些教程。

回答by apurvc

Though your question can easily be googled for answers.

虽然您的问题很容易在谷歌上搜索答案。

I think you should try that, it will teach you how to do requirement specific search.

我认为您应该尝试一下,它会教您如何进行特定于需求的搜索。

you may find a range of spring tutorial on

您可能会找到一系列春季教程

Mkyong Site

Mkyong网站

Login example

登录示例

回答by schomax

I can also recommend mkyongs tutorials. That one was helpful to me: http://www.mkyong.com/spring-security/spring-security-form-login-example/

我也可以推荐 mkyongs 教程。那个对我有帮助:http: //www.mkyong.com/spring-security/spring-security-form-login-example/

Also, you can autogenerate a Login form with Spring Roo and play around with that

此外,您可以使用 Spring Roo 自动生成登录表单并使用它

roo> security setup

However, if you wanna get a more detailed introduction there is a webinar about Spring Security online by Mike Wiesner http://www.infoq.com/presentations/Spring-Security-3

但是,如果您想获得更详细的介绍,请访问Mike Wiesner http://www.infoq.com/presentations/Spring-Security-3关于 Spring Security 的在线网络研讨会