diff --git a/README.md b/README.md index d20d9fd..d1961c0 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,9 @@ demo-manager 层不应该处理任何与数据读写无关的业务逻辑,这 ### 实现登录认证的步骤: -1. 首先从`UsernamePasswordAuthenticationFilter`入手,先重写这个过滤器,用来获取请求的信息,并将其封装到UserDetails,接着通过authenticate方法传入到authenticateManager中进行下一步的操作。 -2. 接着重写``BasicAuthenticationFilter `` 这个过滤器,作为token的校验。 +1. 首先从`UsernamePasswordAuthenticationFilter`入手,先重写这个过滤器,用来获取请求的信息,并将其封装到UserDetails,接着通过authenticate方法传入到authenticateManager中进行下一步的操作。【这个是注入到Security 配置类中的】 +2. 接着重写``BasicAuthenticationFilter `` 这个过滤器,作为token的校验。【这个是注入到Security的配置类里面的。】 +3. 实现 # 延伸阅读