diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-15 16:37:08 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-15 16:37:08 -0600 |
| commit | 2f55a5c8ac137046bc54a57dba33f6887d4ab461 (patch) | |
| tree | c2ba9ea121e3ea56968dc4f31df75f4b6b65347a /src/authorization/server.rs | |
| parent | f94f79608393d4ab127db63cc41668445ef6b243 (diff) | |
refactor: extract a separate module for cedar
Diffstat (limited to 'src/authorization/server.rs')
| -rw-r--r-- | src/authorization/server.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/authorization/server.rs b/src/authorization/server.rs index 31bf2af8..05e78c1a 100644 --- a/src/authorization/server.rs +++ b/src/authorization/server.rs @@ -1,4 +1,3 @@ -use super::cedar_authorizer::CedarAuthorizer; use super::check_service::CheckService; use envoy_types::ext_authz::v3::pb::AuthorizationServer; use std::sync::Arc; @@ -37,6 +36,6 @@ impl Server { impl Default for Server { fn default() -> Self { - Self::new(CedarAuthorizer::default()).unwrap() + Self::new(super::authorizer::DefaultAuthorizer::default()).unwrap() } } |
