DaanHoogland commented on code in PR #669:
URL:
https://github.com/apache/cloudstack-documentation/pull/669#discussion_r3637004379
##########
source/adminguide/events.rst:
##########
@@ -162,10 +162,20 @@ changes can control the behaviour.
The ``eventNotificationBus`` bean represents the
``org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus`` class.
-
+
If you want to use encrypted values for the username and password, you
have to include a bean to pass those
as variables from a credentials file.
+ .. note::
+ Older versions of this guide referenced
+
``org.jasypt.spring3.properties.EncryptablePropertyPlaceholderConfigurer``,
which comes
+ from the ``jasypt-spring3`` artifact. That artifact is not shipped
with CloudStack and is
+ not compatible with the Spring 5 used since CloudStack 4.x, so beans
referencing it fail
+ to load with a ``ClassNotFoundException``. Use
+ ``com.cloud.utils.crypt.EncryptablePropertyPlaceholderConfigurer``
instead, which ships
+ with CloudStack and works the same way. This bean also expects
encrypted values to be
+ wrapped as ``ENC(...)``, matching the convention used elsewhere in
CloudStack.
+
Review Comment:
this might not be needed
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]