mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
chore(Http): change authed username to default and skip auth on metrics (#1950)
* Update Http auth with username default instead of user * skip auth for /metrics page * add/improve tests * fix a bug with admin port requiring auth on http even if nopass was set * update helio ref * update listener class to contain its respective Role * fix http init to only include admin and main listener
This commit is contained in:
parent
38c4e3b588
commit
945d3a39e4
15 changed files with 144 additions and 99 deletions
|
@ -91,7 +91,7 @@ class Service : public facade::ServiceInterface {
|
|||
|
||||
GlobalState GetGlobalState() const;
|
||||
|
||||
void ConfigureHttpHandlers(util::HttpListenerBase* base) final;
|
||||
void ConfigureHttpHandlers(util::HttpListenerBase* base, bool is_privileged) final;
|
||||
void OnClose(facade::ConnectionContext* cntx) final;
|
||||
std::string GetContextInfo(facade::ConnectionContext* cntx) final;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue