Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth: add support for authc/authz via external api (#10)
Squash a series of commits related to authentication found on v5.0.1-criteo branch: * 34fe8d4 Add attributes support * bf5cf17 Implement List Roles * fe21809 Add alter user implementation to the rest role manager * 69fd387 Update ssl cert * 6a32079 Add authorization support with rest_auth * 2f92f8b deprecate internal_distributed_timeout_config * a39e509 Add rest_authenticator to manage authentication with a rest endpoint validating credentials Few changes introduced compared to 5.0.1 version: * fixed runtime assertion related to pending flush when scylla fails to communicate with rest auth api * picojson replaced by rapidjson (used by scylla) * rest_http_client replaced by seastar::http::experimental::connection * unit tests fixed and enriched * formatting aligned with rest of scylla code base * tools/rest_authenticator_server updated to match actual implementation (usage of TLS and of GET http verb instead of POST) * 73d02b1 make our rest_authenticator accepted by some clients make our rest_authenticator accepted by some clients authenticator_name is checked by some clients (go, rust) and connections are rejected if not in an allowed list on client side. We spoof cassandra authenticator name as scylla is doing for password authenticator.
- Loading branch information