|
|
@ -31,7 +31,7 @@ public class ApiAuthTokenFilter extends OncePerRequestFilter {
|
|
|
|
SecurityContext context = SecurityContextHolder.getContext();
|
|
|
|
SecurityContext context = SecurityContextHolder.getContext();
|
|
|
|
// 进入此过滤器说明 OIDC 认证成功,则验证 authToken
|
|
|
|
// 进入此过滤器说明 OIDC 认证成功,则验证 authToken
|
|
|
|
// 验证 authToken 合法
|
|
|
|
// 验证 authToken 合法
|
|
|
|
String token = request.getHeader("X-Auth-AuthToken");
|
|
|
|
String token = request.getHeader("X-Auth-Authtoken");
|
|
|
|
if (StringUtils.isBlank(token)) {
|
|
|
|
if (StringUtils.isBlank(token)) {
|
|
|
|
filterChain.doFilter(request, response);
|
|
|
|
filterChain.doFilter(request, response);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|