File tree 2 files changed +0
-39
lines changed
src/main/java/com/rabbitmq/stream
2 files changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -436,31 +436,6 @@ EnvironmentBuilder topologyUpdateBackOffDelayPolicy(
436
436
/** Helper to configure TLS. */
437
437
interface TlsConfiguration {
438
438
439
- /**
440
- * Enable hostname verification.
441
- *
442
- * <p>Hostname verification is enabled by default.
443
- *
444
- * @return the TLS configuration helper
445
- * @deprecated use {@link SslContextBuilder#endpointIdentificationAlgorithm(String)} with {@link
446
- * #sslContext(SslContext)}
447
- */
448
- @ Deprecated (forRemoval = true )
449
- TlsConfiguration hostnameVerification ();
450
-
451
- /**
452
- * Enable or disable hostname verification.
453
- *
454
- * <p>Hostname verification is enabled by default.
455
- *
456
- * @param hostnameVerification whether to enable hostname verification or not
457
- * @return the TLS configuration helper
458
- * @deprecated use {@link SslContextBuilder#endpointIdentificationAlgorithm(String)} with {@link
459
- * #sslContext(SslContext)}
460
- */
461
- @ Deprecated (forRemoval = true )
462
- TlsConfiguration hostnameVerification (boolean hostnameVerification );
463
-
464
439
/**
465
440
* Netty {@link SslContext} for TLS connections.
466
441
*
Original file line number Diff line number Diff line change @@ -372,20 +372,6 @@ private DefaultTlsConfiguration(EnvironmentBuilder environmentBuilder) {
372
372
this .environmentBuilder = environmentBuilder ;
373
373
}
374
374
375
- @ Override
376
- @ SuppressWarnings ("removal" )
377
- public TlsConfiguration hostnameVerification () {
378
- this .hostnameVerification = true ;
379
- return this ;
380
- }
381
-
382
- @ Override
383
- @ SuppressWarnings ("removal" )
384
- public TlsConfiguration hostnameVerification (boolean hostnameVerification ) {
385
- this .hostnameVerification = hostnameVerification ;
386
- return this ;
387
- }
388
-
389
375
@ Override
390
376
public TlsConfiguration sslContext (SslContext sslContext ) {
391
377
this .sslContext = sslContext ;
You can’t perform that action at this time.
0 commit comments