Thanks Rob!

Are there any requirements at the level of the packaging of classes for example 
under META-INF/services as Java service loader does?


Regards,

Adel

________________________________
From: Rob Godfrey <rob.j.godf...@gmail.com>
Sent: Tuesday, December 13, 2016 3:24:17 PM
To: users@qpid.apache.org
Subject: Re: [Qpid Java Broker] Providing external encryptor for configuration

Obviously the encrypter will have to be in the broker's classpath.  If you
use the qpid-server shell script, then it sets the environment variable
QPID_CLASSPATH like so:

QPID_LIBS="${QPID_HOME}/lib/*:${QPID_HOME}/lib/plugins/*:${QPID_HOME}/lib/opt/*"

QPID_CLASSPATH="${QPID_LIBS}"

This is then used by qpid-run script to set the classpath for the broker.
So if you have not otherwise changed the script it looks like any of lib/ ,
lib/plugins or lib/opt/ would do.

-- Rob

On 13 December 2016 at 12:12, Adel Boutros <adelbout...@live.com> wrote:

> Hello,
>
> In the Java Broker book, it is mentioned here [1] that the user can
> provide an external configuration encryptor by implementing
> ConfigurationSecretEncrypter.
>
> However, I couldn't find in the book where it describes the process. For
> example, where should I place my implementation? (under lib folder of the
> broker or somewhere else?)
>
> [1]: https://qpid.apache.org/releases/qpid-java-6.0.4/java-
> broker/book/Java-Broker-Security-Configuration-Encryption.html
>
> Regards,
> Adel
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>

Reply via email to