|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2012-2024 the original author or authors. |
|
|
|
|
* Copyright 2012-2025 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -575,10 +575,21 @@ public class RabbitProperties {
@@ -575,10 +575,21 @@ public class RabbitProperties {
|
|
|
|
|
this.validateServerCertificate = validateServerCertificate; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns verifyHostname. |
|
|
|
|
* @return verifyHostname |
|
|
|
|
* @deprecated since 3.5.0 for removal in 3.7.0 in favor of |
|
|
|
|
* {@link #isVerifyHostname()} |
|
|
|
|
*/ |
|
|
|
|
@Deprecated(since = "3.5.0", forRemoval = true) |
|
|
|
|
public boolean getVerifyHostname() { |
|
|
|
|
return this.verifyHostname; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean isVerifyHostname() { |
|
|
|
|
return this.verifyHostname; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setVerifyHostname(boolean verifyHostname) { |
|
|
|
|
this.verifyHostname = verifyHostname; |
|
|
|
|
} |
|
|
|
|
|