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

IgnoreUrlsRemoveJwtFilter重复执行 #99

Open
kdmix opened this issue Sep 18, 2021 · 0 comments
Open

IgnoreUrlsRemoveJwtFilter重复执行 #99

kdmix opened this issue Sep 18, 2021 · 0 comments

Comments

@kdmix
Copy link

kdmix commented Sep 18, 2021

IgnoreUrlsRemoveJwtFilter的注解@component
ResourceServerConfig中http.addFilterBefore(ignoreUrlsRemoveJwtFilter,SecurityWebFiltersOrder.AUTHENTICATION);
以上两处一起使用可能会导致IgnoreUrlsRemoveJwtFilter的逻辑重复执行(比方说/login请求,算上options和post,会执行4次)

如果只处理白名单问题不大的,如果附加其它逻辑,使用时就需要注意下了。

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

No branches or pull requests

1 participant