-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add keyStoreAlgorithm and trustStoreAlgorithm configuration option to configure RabbitConnectionFactory #24076
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for the pull request, @topikachu. I've left a few minor comments. If you have the time, please take a look at them and let us know what you think.
...utoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java
Outdated
Show resolved
Hide resolved
@@ -399,6 +404,11 @@ public Template getTemplate() { | |||
*/ | |||
private String trustStorePassword; | |||
|
|||
/** | |||
* Trust stroe algorithm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small typo here. Should be "store" rather than "stroe".
...utoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java
Outdated
Show resolved
Hide resolved
/** | ||
* Trust stroe algorithm. | ||
*/ | ||
private String trustStoreAlgorithm; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initial value of this field should be SunX509
. This aligns it with Spring AMQP's default for the property.
.../src/test/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java
Outdated
Show resolved
Hide resolved
.../src/test/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java
Outdated
Show resolved
Hide resolved
...utoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java
Outdated
Show resolved
Hide resolved
@@ -384,6 +384,11 @@ public Template getTemplate() { | |||
*/ | |||
private String keyStorePassword; | |||
|
|||
/** | |||
* Key stroe algorithm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small typo here. Should be "store" rather than "stroe".
...utoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java
Outdated
Show resolved
Hide resolved
...utoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java
Outdated
Show resolved
Hide resolved
…re and trust store algorithm Add keyStoreAlgorithm and trustStoreAlgorithm to RabbitProperties and adopt at Rabbit AutoConfig.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for the updates, @topikachu.
@topikachu thank you for making your first contribution to Spring Boot. |
Add keyStoreAlgorithm and trustStoreAlgorithm to RabbitProperties and adopt at Rabbit AutoConfig.