|
|
|
@ -80,7 +80,7 @@ public class TokenAuthenticationFilter extends BasicAuthenticationFilter { |
|
|
|
appYSHeader = request.getParameter(SecurityConstant.APP_YS_HEADER); |
|
|
|
} |
|
|
|
String appWLHeader = request.getHeader(SecurityConstant.APP_WL_HEADER); |
|
|
|
if (StrUtil.isBlank(appYSHeader)) { |
|
|
|
if (StrUtil.isBlank(appWLHeader)) { |
|
|
|
appWLHeader = request.getParameter(SecurityConstant.APP_WL_HEADER); |
|
|
|
} |
|
|
|
Boolean notValid = (StrUtil.isBlank(header) || (!tokenProperties.getRedis() && !header.startsWith(SecurityConstant.TOKEN_SPLIT))) |
|
|
|
|