spring security permissions secure authentication framework - Getting Started (a)

spring security Overview:

Spring Security is a powerful and highly customizable authentication and access control framework. It is to protect the de facto standard spring-based applications.

Spring Security is a framework that focuses on providing authentication and authorization for Java applications. Like all Spring projects, the real power of the security of Spring is that it can be easily extended to meet custom needs.

Comprehensive and scalable authentication and authorization protection, such as session fixation, click hijacking, cross-site request forgery and other Servlet API. Integration Optional integration with Spring Web MVC, Spring Boot and so on.

 

Learn how spring security through the official website:

Bloggers before learning a skill, the first thought is Baidu, look at the blog, and then download the demo on github others down, running up even finished learning. Of course, this sometimes does for learning on the job

The effect is obvious, the problem can be resolved quickly encountered the work, but there will still be a lot of criticism. First, write a blog can not know everyone who's read the blog level, it will lead to a knowledge because you could not run up blind lead demo,

And you do not have the ability to solve, spent a lot of time, you read this blog on white. Secondly, even if you solve the problems in the work, because you do not have a systematic and comprehensive study of this technology, the next time you encounter this problem when you still can only go

Baidu, even when the use of this technology encountered no problems on the blog, you are bound to know what to do. So my suggestion is, of course, depends Bowen, to solve the problems encountered in the work, and then spend their down time Quguan network system of this door a technical school

Times (of course, the premise is this technology worth you do so). Many students might see the official website of a headache, totally do not understand English, do not worry at all, bloggers NMET 50s, still watching, not with English translation software ah, here bloggers recommended

Translation proper way. Ado, let's entry-spring security as an example, look at how learning a programming technique through the official website.

 

First to enter the official website https://spring.io spring will see the following interface

 

 

 

spring是一个大家族,包含很多的项目产品,如图点击project进入如下页面:

 

 

 然后往下面拉,会看到spring security项目,然后点击它进入如下页面:

 

 

 进入这个页面之后,我们看右边,看到右边overview,如果你不知道什么意思,用有道翻译一下就知道它是概述的意思,博文开始的spring security的概述就是这个页面的内容。

我们阅读官网的时候,最好不要直接通过浏览器的翻译直接全页面翻译,因为它可能会把代码也给你翻译了,这样就无法进行阅读了。安装一个有道词典,选择你要翻译的英文

然后鼠标放到红色的图标上,就能看到翻译的内容了,很方便。好了,我们继续往下,overview旁边有个learn,这个单词就不用翻译了吧,点击它进入如下页面:

 

 

 上面就是版本以及每个版本对应的参考问题以及API文档,这篇博文只讲入门,先不管文档,看到标记的描述,意思是:

该指南的设计目标是在15-30分钟内完成,它为使用Spring的任何开发任务构建入门应用程序提供了快速、实用的指导。

它就是我们想要的入门指南,点击下面的链接进入:

 

 

 这个指南我就不详细一步一步的演示了,因为太简单了。照着这个指南做了之后,你就会明白spring security大致在项目中的作用是什么了。

注意:

如果你访问不了github或者很慢可按照https://blog.csdn.net/whbk101/article/details/102703671配置一下。

下载下来的项目,只需要用gs-securing-web下的complete项目就行,还有一个initial可以不用管。

 

 

 

 

Guess you like

Origin www.cnblogs.com/liu-yi/p/12040486.html