Skip to content

Conversation

@Yao-MR
Copy link

@Yao-MR Yao-MR commented Dec 17, 2025

Why are the changes needed?

Add the BasicAuth For the Prometheus exporter

How was this patch tested?

Test in UT

Was this patch authored or co-authored using generative AI tooling?

No

/**
* A servlet filter that implements HTTP Basic Authentication
*/
class BasicAuthFilter(username: String, password: String)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we reuse the infrastructure of the RESTful API?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, will refactor the auth module for further reuse

@Yao-MR Yao-MR closed this Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants