private String getTokenValue(final HttpServletRequest httpServletRequest) {
        String tokenName = Constants.X_ACCESS_TOKEN;
        // get token from header
        String tokenValue = httpServletRequest.getHeader(tokenName);
        if (StringUtils.isNoneBlank(tokenValue)) {
            return tokenValue;
        }
        tokenValue = httpServletRequest.getParameter(tokenName);
        if (StringUtils.isNoneBlank(tokenValue)) {
            return tokenValue;
        }
        Cookie[] cookies = httpServletRequest.getCookies();
        if (Objects.isNull(cookies)) {
            return "";
        }
        return Arrays.stream(cookies)
                .filter(cookie -> StringUtils.equals(tokenName, cookie.getName()))
                .findAny()
                .orElse(new Cookie(tokenName, ""))
                .getValue();
    }
get token value from request.

@param httpServletRequest request
@return tokenValue
shenyu-admin/src/main/java/org/apache/shenyu/admin/shiro/bean/StatelessAuthFilter.java