You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| src/main/java/com/depsystem/app | 3 years ago | |
| README.md | 3 years ago | |
| pom.xml | 3 years ago | |
README.md
module description
service 模块,对应 MVC 的 M 概念,存放核心业务逻辑代码
登录实现:
登录流程:
请求进入服务 }}} 然后通过过滤链中的过滤器 }}} 然后在碰到过滤监听器后会报错误,然后重定向到登录界面。 }}} 随后启动登录认证创建模板 }}} 随即展示。
接着通过抽象的认证过滤器,间接执行到了AuthenticationManage,从中获取到认证信息。
然后交给它的实现类,认证发布者管理,随即通过认证发布者来实现认证操作。在实现认证操作期间会从UserDetailService中获取到数据库查到的用户
账户和密码,并结合密码加解码工具类来实现明文获取。
并丢入给实现抽象类的管理器。