jbertram commented on PR #4320:
URL: 
https://github.com/apache/activemq-artemis/pull/4320#issuecomment-1374707536

   My only concern here is that there's no way to set the codec. It is 
hard-coded to use the default coded. I think the simplest way to implement 
codec configuration is via a new property on 
`org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory` much like 
`deserializationWhiteList` so that the value could be set programmatically or 
via the connection URL. For example, if you created a `String` named 
`passwordCodec` then this could be set using 
`ActiveMQConnectionFactory.setPasswordCodec` or, e.g., something like 
`tcp://myHost:61616?passwordCodec=com.foo.Codec`. Then any encrypted 
credentials used on connections created from this connection factory would use 
that codec.


-- 
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]

Reply via email to