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

关于gateway模块的问题,不能使用过滤器的问题 #71

Open
MinstrelOrMisa opened this issue Jan 22, 2021 · 0 comments
Open

Comments

@MinstrelOrMisa
Copy link

我使用了AbstractGatewayFilterFactory继承实现自定义过滤器发现没有效果,然后发现GatrwayFilter也无法使用,通过debug发现,gateway中的
filters:

  • StripPrefix=1
    这段配置是无效的,通过排查发现
    spring-security-oauth2-resource-server 这个包会使GatrwayFilter以及AbstractGatewayFilterFactory无效
    正常情况下debug会进入到如下图中
    图片
    但是此项目没有进入到内部
    但是目前没有找到解决方案,还望指点,谢谢
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