2020
09-24
09-24
Spring security自定义用户认证流程详解
1.自定义登录页面(1)首先在static目录下面创建login.html注意:springboot项目默认可以访问resources/resources,resources/staic,resources/public目录下面的静态文件<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><title>登录页面</title></head><body><formaction="/auth/login"method="post">用户名:<inputtype="text"name="username"><br/>密 码:<inputtype="password"name="passwor...
继续阅读 >