Skip to content

Commit 179b339

Browse files
remove other unused fields from SecurityServerTransportInterceptor
1 parent 201fcad commit 179b339

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,9 @@ public class SecurityServerTransportInterceptor implements TransportInterceptor
5656
private static final Logger logger = LogManager.getLogger(SecurityServerTransportInterceptor.class);
5757

5858
private final RemoteClusterTransportInterceptor remoteClusterTransportInterceptor;
59-
private final AuthenticationService authcService;
60-
private final AuthorizationService authzService;
61-
private final SSLService sslService;
6259
private final Map<String, ServerTransportFilter> profileFilters;
6360
private final ThreadPool threadPool;
64-
private final Settings settings;
6561
private final SecurityContext securityContext;
66-
private final CrossClusterAccessAuthenticationService crossClusterAccessAuthcService;
67-
private final XPackLicenseState licenseState;
6862

6963
public SecurityServerTransportInterceptor(
7064
Settings settings,
@@ -104,14 +98,8 @@ public SecurityServerTransportInterceptor(
10498
// Inject for simplified testing
10599
Function<Transport.Connection, Optional<RemoteClusterAliasWithCredentials>> remoteClusterCredentialsResolver
106100
) {
107-
this.settings = settings;
108101
this.threadPool = threadPool;
109-
this.authcService = authcService;
110-
this.authzService = authzService;
111-
this.sslService = sslService;
112102
this.securityContext = securityContext;
113-
this.crossClusterAccessAuthcService = crossClusterAccessAuthcService;
114-
this.licenseState = licenseState;
115103
this.remoteClusterTransportInterceptor = new CrossClusterAccessTransportInterceptor(
116104
crossClusterAccessAuthcService,
117105
authcService,

0 commit comments

Comments
 (0)