yyqdbngt opened a new pull request, #3374:
URL: https://github.com/apache/rocketmq-dashboard/pull/3374

   ## Summary
   
   Adds `AuthPropertiesTest`, a first unit test for the local-auth 
configuration.
   
   Coverage:
   - `configuredUsers` keeps only entries with both a textual username and 
password (blank-name, missing-password, and fully-blank entries are dropped);
   - the session-cookie defaults are secure: default cookie name, `Secure` flag 
on, `SameSite=Strict`, and login not required by default.
   
   ## Why
   
   The configured users back static login when no DB user store is used, and 
the cookie defaults shape every session; neither had a direct test.
   
   ## Testing
   
   `mvn -B test -Dtest=AuthPropertiesTest` — 2/2 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]

Reply via email to