yyqdbngt opened a new pull request, #3365: URL: https://github.com/apache/rocketmq-dashboard/pull/3365
## Summary Extends the existing `AuthCookieTest` (3 to 7 tests) to pin down the remaining session-cookie branches. Added cases: - no authorization header and no session cookie yields null; - a non-bearer header passes through unchanged when no cookie matches; - a custom cookie name is honored on write, and `clear` emits an empty value with `Max-Age=0`; - the bearer session-delivery header is matched case-insensitively and absent by default. ## Why The helper gates every session-authenticated request; only the cookie flags, header precedence, and cookie fallback were covered before. ## Testing `mvn -B test -Dtest=AuthCookieTest` — 7/7 pass; checkstyle (validate) clean. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
