mirror of
https://github.com/signalapp/Signal-Server
synced 2026-05-24 16:08:46 +01:00
Make GrpcAllowListInterceptor dynamically configurable
This commit is contained in:
committed by
ravi-signal
parent
f17a39386b
commit
c8d4ea97e4
@@ -882,8 +882,7 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
|
||||
|
||||
final ErrorMappingInterceptor errorMappingInterceptor = new ErrorMappingInterceptor();
|
||||
final ErrorConformanceInterceptor errorConformanceInterceptor = new ErrorConformanceInterceptor();
|
||||
final GrpcAllowListInterceptor grpcAllowListInterceptor =
|
||||
new GrpcAllowListInterceptor(config.getGrpcAllowList().enableAll(), config.getGrpcAllowList().enabledServices(), config.getGrpcAllowList().enabledMethods());
|
||||
final GrpcAllowListInterceptor grpcAllowListInterceptor = new GrpcAllowListInterceptor(dynamicConfigurationManager);
|
||||
final RequestAttributesInterceptor requestAttributesInterceptor = new RequestAttributesInterceptor();
|
||||
|
||||
final ValidatingInterceptor validatingInterceptor = new ValidatingInterceptor();
|
||||
|
||||
Reference in New Issue
Block a user