随笔分类 -  Spring Security(4.2.10.RELEASE)

摘要:Most Spring Security users will be using the framework in applications which make user of HTTP and the Servlet API. In this part, we’ll take a look at 阅读全文
posted @ 2018-12-19 22:40 帅LOVE俊 阅读(206) 评论(0) 推荐(0)
摘要:Spring Security provides comprehensive integration with Spring MVC Test Spring Security提供与Spring MVC Test的全面集成 12.1 Setting Up MockMvc and Spring Secu 阅读全文
posted @ 2018-12-19 22:32 帅LOVE俊 阅读(382) 评论(0) 推荐(0)
摘要:This section describes the testing support provided by Spring Security. 本节介绍Spring Security提供的测试支持。 To use the Spring Security test support, you must 阅读全文
posted @ 2018-12-19 22:00 帅LOVE俊 阅读(703) 评论(0) 推荐(0)
摘要:Spring Security has added Jackson Support for persisting Spring Security related classes. This can improve the performance of serializing Spring Secur 阅读全文
posted @ 2018-12-19 13:59 帅LOVE俊 阅读(405) 评论(0) 推荐(0)
摘要:Spring Security’s PasswordEncoder interface is used to support the use of passwords which are encoded in some way in persistent storage. You should ne 阅读全文
posted @ 2018-12-19 13:52 帅LOVE俊 阅读(194) 评论(0) 推荐(0)
摘要:Now that we have a high-level overview of the Spring Security architecture and its core classes, let’s take a closer look at one or two of the core in 阅读全文
posted @ 2018-12-19 13:48 帅LOVE俊 阅读(208) 评论(0) 推荐(0)
摘要:Spring Security supports localization of exception messages that end users are likely to see. If your application is designed for English-speaking use 阅读全文
posted @ 2018-12-19 13:41 帅LOVE俊 阅读(352) 评论(0) 推荐(0)
摘要:The main interface responsible for making access-control decisions in Spring Security is the AccessDecisionManager. It has a decide method which takes 阅读全文
posted @ 2018-12-19 13:39 帅LOVE俊 阅读(220) 评论(0) 推荐(0)
摘要:ExceptionTranslationFilter is a Spring Security filter that has responsibility for detecting any Spring Security exceptions that are thrown. Such exce 阅读全文
posted @ 2018-12-19 13:33 帅LOVE俊 阅读(249) 评论(0) 推荐(0)
摘要:Now let’s explore the situation where you are using Spring Security in a web application (without web.xml security enabled). How is a user authenticat 阅读全文
posted @ 2018-12-18 22:45 帅LOVE俊 阅读(159) 评论(0) 推荐(0)
摘要:Once you are familiar with setting up and running some namespace-configuration based applications, you may wish to develop more of an understanding of 阅读全文
posted @ 2018-12-18 22:27 帅LOVE俊 阅读(167) 评论(0) 推荐(0)
摘要:8.1 Issue Tracking Spring Security uses JIRA to manage bug reports and enhancement requests. If you find a bug, please log a report using JIRA. Do not 阅读全文
posted @ 2018-12-18 22:18 帅LOVE俊 阅读(152) 评论(0) 推荐(0)
摘要:There are several sample web applications that are available with the project. To avoid an overly large download, only the "tutorial" and "contacts" s 阅读全文
posted @ 2018-12-18 22:16 帅LOVE俊 阅读(290) 评论(0) 推荐(0)
摘要:The main interface which provides authentication services in Spring Security is the AuthenticationManager. This is usually an instance of Spring Secur 阅读全文
posted @ 2018-12-18 22:09 帅LOVE俊 阅读(156) 评论(0) 推荐(0)
摘要:This section assumes you have some knowledge of the underlying architecture for access-control within Spring Security. If you don’t you can skip it an 阅读全文
posted @ 2018-12-18 21:58 帅LOVE俊 阅读(228) 评论(0) 推荐(0)
摘要:From version 2.0 onwards Spring Security has improved support substantially for adding security to your service layer methods. It provides support for 阅读全文
posted @ 2018-12-18 21:53 帅LOVE俊 阅读(177) 评论(0) 推荐(0)
摘要:6.3.1 Remember-Me Authentication (记住我的身份验证) See the separate Remember-Me chapter for information on remember-me namespace configuration. 有关remember-me 阅读全文
posted @ 2018-12-18 21:40 帅LOVE俊 阅读(202) 评论(0) 推荐(0)
摘要:You might be wondering where the login form came from when you were prompted to log in, since we made no mention of any HTML files or JSPs. In fact, s 阅读全文
posted @ 2018-12-18 21:24 帅LOVE俊 阅读(251) 评论(0) 推荐(0)
摘要:6.1 Introduction Namespace configuration has been available since version 2.0 of the Spring Framework. It allows you to supplement the traditional Spr 阅读全文
posted @ 2018-12-17 22:40 帅LOVE俊 阅读(198) 评论(0) 推荐(0)
摘要:Spring Security’s Java Configuration does not expose every property of every object that it configures. This simplifies the configuration for a majori 阅读全文
posted @ 2018-12-17 22:29 帅LOVE俊 阅读(217) 评论(0) 推荐(0)