|
|
@@ -104,8 +104,8 @@ public class AuthFilter implements GlobalFilter, Ordered {
|
|
|
* @return
|
|
|
*/
|
|
|
private boolean isIgnore(ServerHttpRequest request) {
|
|
|
- String path = request.getPath().value();
|
|
|
- return authConfig.getIgnores().stream().anyMatch(ignore -> ignore.equals(path));
|
|
|
+ return authConfig.getIgnores().stream().anyMatch(ignore ->
|
|
|
+ new AntPathRequestMatcher(ignore).matches(request));
|
|
|
}
|
|
|
|
|
|
private String getAuthHeaderToken(ServerHttpRequest request) {
|