From ff3076e633b5caaafe6d5ed336fd54f889e684ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Tue, 10 Aug 2021 09:20:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=B0=86WebMVC=E6=96=87=E6=A1=A3=E7=A7=BB?= =?UTF-8?q?=E5=85=A5=E6=AD=A3=E5=BC=8F=E7=9B=AE=E5=BD=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/{_drafts => _posts}/spring-security-webmvc.md | 2 ++ 1 file changed, 2 insertions(+) rename source/{_drafts => _posts}/spring-security-webmvc.md (99%) diff --git a/source/_drafts/spring-security-webmvc.md b/source/_posts/spring-security-webmvc.md similarity index 99% rename from source/_drafts/spring-security-webmvc.md rename to source/_posts/spring-security-webmvc.md index ece483b..fadb261 100644 --- a/source/_drafts/spring-security-webmvc.md +++ b/source/_posts/spring-security-webmvc.md @@ -10,7 +10,9 @@ categories: - - JVM - Spring keywords: 'Spring,Spring Security,UserDetails,SecurityContext,Servlet' +date: 2021-08-10 09:19:31 --- + 其实在Spring应用中使用Spring Security并不困难,最复杂的事情应该就是如何完成Spring Security的配置了。一旦Spring Security的配置成功完成,那么在Controller中就可以直接使用Spring Security提供的注解来使用Spring Security安全认证的结果。 要完成Spring Web MVC应用中的Spring Security配置,需要至少完成以下两项内容: