dimas-b commented on issue #274: URL: https://github.com/apache/polaris/issues/274#issuecomment-3379025317
`PolarisAuthorizer` is a request-scoped bean, meaning a new instance will be created for each request. If you need to keep state between requests you may want to add an application-scoped bean and reference it from another `PolarisAuthorizer` impl. Here's an example for how to configure core services: https://github.com/apache/polaris/blob/20febdaede19fb7c46e120652fdd1a262c2138e4/runtime/service/src/main/java/org/apache/polaris/service/auth/AuthenticationConfiguration.java#L29 In general, I think following the Authentication code patterns could be helpful for Ranger integration. -- 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]
