Skip to content

Commit 9b5aa27

Browse files
add new SecurityServerTransportInterceptor constructor
1 parent 71e94a4 commit 9b5aa27

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptor.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@ public class SecurityServerTransportInterceptor implements TransportInterceptor
5858
private final ThreadPool threadPool;
5959
private final SecurityContext securityContext;
6060

61+
public SecurityServerTransportInterceptor(
62+
Settings settings,
63+
ThreadPool threadPool,
64+
SSLService sslService,
65+
SecurityContext securityContext,
66+
DestructiveOperations destructiveOperations,
67+
RemoteClusterTransportInterceptor remoteClusterTransportInterceptor
68+
69+
) {
70+
this.remoteClusterTransportInterceptor = remoteClusterTransportInterceptor;
71+
this.securityContext = securityContext;
72+
this.threadPool = threadPool;
73+
final Map<String, SslProfile> profileConfigurations = ProfileConfigurations.get(settings, sslService, false);
74+
this.profileFilters = this.remoteClusterTransportInterceptor.getProfileFilters(profileConfigurations, destructiveOperations);
75+
}
76+
6177
public SecurityServerTransportInterceptor(
6278
Settings settings,
6379
ThreadPool threadPool,

0 commit comments

Comments
 (0)