mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 08:31:53 -05:00
fix: initialize service-call authorizer at startup (#6876)
This commit is contained in:
1 parent
6606657434
commit
a950c704c7
2 files changed
+3
-3
No files matched your search
@@ -5,6 +5,7 @@ import io.github.hectorvent.floci.services.iam.IamPolicyEvaluator;
|
||||
import io.github.hectorvent.floci.services.iam.IamPolicyEvaluator.Decision;
|
||||
import io.github.hectorvent.floci.services.iam.ResourcePolicyProvider;
|
||||
import io.github.hectorvent.floci.services.iam.ResourcePolicyProviders;
|
||||
import io.quarkus.runtime.Startup;
|
||||
import jakarta.enterprise.context.ApplicationScoped;
|
||||
import jakarta.enterprise.inject.Instance;
|
||||
import jakarta.inject.Inject;
|
||||
@@ -30,6 +31,7 @@ import java.util.Map;
|
||||
* The decision is returned rather than thrown, because what a refusal means is the caller's to
|
||||
* decide: a notification that is not delivered, a delivery that is retried, or an error.
|
||||
*/
|
||||
@Startup
|
||||
@ApplicationScoped
|
||||
public class ServiceCallAuthorizer {
|
||||
|
||||
|
||||
Reference in new issue
Block a user