Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SecurityConfig.java #627

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

winston-1998
Copy link

调整过滤器的执行顺序
如果不调整的话,那么没有登录并且非白名单中的请求就会经过认证和授权里面的逻辑,既然都没有认证,就不应该跑到授权的逻辑里面,调整过滤器的执行顺序可以保证这种情况不会跑到授权的逻辑里面

调整过滤器的执行顺序
@winston-1998
Copy link
Author

调整过滤器的执行顺序
如果不调整的话,那么没有登录并且非白名单中的请求就会经过认证和授权里面的逻辑,既然都没有认证,就不应该跑到授权的逻辑里面,调整过滤器的执行顺序可以保证这种情况不会跑到授权的逻辑里面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant