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

   ### Motivation
   
   The existing `SensitiveRequestToStringTest` covers LLM, cloud-credential, 
plain-access and metrics query DTOs, but the auth-family request DTOs — login, 
studio user creation and password reset — were not part of the cross-DTO 
secret-leak contract.
   
   ### Changes
   
   - `authRequestToStringShouldNotExposePasswords`: `LoginDTO`, 
`CreateStudioUserDTO` and `ResetPasswordDTO` all keep their passwords out of 
`toString` (via `@ToString.Exclude`) while non-secret fields such as the 
username stay visible.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=SensitiveRequestToStringTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


-- 
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