You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Leor Amikam <Le...@hansencx.com> on 2020/04/10 18:52:56 UTC

JMS Appender authentication

Hi we are using the JMS Appender with just cleartext username/password. I see in the configuration there is securityPrincipalName and securityCredentials.  I am not sure how to use that. Is there an example somewhere that I can look at?

Thanks!

Leor

Notice:  This e-mail and any attachments are confidential and may contain legally privileged information and/or copyright material of Hansen Technologies Limited or third parties.  Copying, distributing, disclosing, commercialising or otherwise acting in reliance on this e-mail and any attachments is strictly prohibited unless you are the addressee of this e-mail and have written permission to do so.  If you have received this e-mail in error please delete this e-mail (including any copies and attachments) and contact Hansen Technologies Limited by return e-mail or by telephone on + 61 3 9840 3000.  Any views expressed in this e-mail are those of the individual sender and may not necessarily reflect the views of or be a commitment by the organisation, except where the individual sender has the authority and expressly states them to be so.

Re: JMS Appender authentication

Posted by Gary Gregory <ga...@gmail.com>.
On Sun, Apr 12, 2020 at 10:33 AM Gary Gregory <ga...@gmail.com>
wrote:

> Hi Leor,
>
> I do not see an example for this feature. You'll have to take a look at
> the source for the JmsAppender class:
>

https://github.com/apache/logging-log4j2/blob/release-2.x/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/mom/JmsAppender.java

Gary


>
>
> On Fri, Apr 10, 2020 at 2:53 PM Leor Amikam <Le...@hansencx.com>
> wrote:
>
>> Hi we are using the JMS Appender with just cleartext username/password. I
>> see in the configuration there is securityPrincipalName and
>> securityCredentials.  I am not sure how to use that. Is there an example
>> somewhere that I can look at?
>>
>> Thanks!
>>
>> Leor
>>
>> Notice:  This e-mail and any attachments are confidential and may contain
>> legally privileged information and/or copyright material of Hansen
>> Technologies Limited or third parties.  Copying, distributing, disclosing,
>> commercialising or otherwise acting in reliance on this e-mail and any
>> attachments is strictly prohibited unless you are the addressee of this
>> e-mail and have written permission to do so.  If you have received this
>> e-mail in error please delete this e-mail (including any copies and
>> attachments) and contact Hansen Technologies Limited by return e-mail or by
>> telephone on + 61 3 9840 3000.  Any views expressed in this e-mail are
>> those of the individual sender and may not necessarily reflect the views of
>> or be a commitment by the organisation, except where the individual sender
>> has the authority and expressly states them to be so.
>>
>

RE: JMS Appender authentication

Posted by Leor Amikam <Le...@hansencx.com>.
OK thanks

-----Original Message-----
From: Gary Gregory <ga...@gmail.com> 
Sent: Sunday, April 12, 2020 10:33 AM
To: Log4J Users List <lo...@logging.apache.org>
Subject: Re: JMS Appender authentication

Hi Leor,

I do not see an example for this feature. You'll have to take a look at the source for the JmsAppender class:


On Fri, Apr 10, 2020 at 2:53 PM Leor Amikam <Le...@hansencx.com>
wrote:

> Hi we are using the JMS Appender with just cleartext 
> username/password. I see in the configuration there is 
> securityPrincipalName and securityCredentials.  I am not sure how to 
> use that. Is there an example somewhere that I can look at?
>
> Thanks!
>
> Leor
>
> Notice:  This e-mail and any attachments are confidential and may 
> contain legally privileged information and/or copyright material of 
> Hansen Technologies Limited or third parties.  Copying, distributing, 
> disclosing, commercialising or otherwise acting in reliance on this 
> e-mail and any attachments is strictly prohibited unless you are the 
> addressee of this e-mail and have written permission to do so.  If you 
> have received this e-mail in error please delete this e-mail 
> (including any copies and
> attachments) and contact Hansen Technologies Limited by return e-mail 
> or by telephone on + 61 3 9840 3000.  Any views expressed in this 
> e-mail are those of the individual sender and may not necessarily 
> reflect the views of or be a commitment by the organisation, except 
> where the individual sender has the authority and expressly states them to be so.
>

Notice:  This e-mail and any attachments are confidential and may contain legally privileged information and/or copyright material of Hansen Technologies Limited or third parties.  Copying, distributing, disclosing, commercialising or otherwise acting in reliance on this e-mail and any attachments is strictly prohibited unless you are the addressee of this e-mail and have written permission to do so.  If you have received this e-mail in error please delete this e-mail (including any copies and attachments) and contact Hansen Technologies Limited by return e-mail or by telephone on + 61 3 9840 3000.  Any views expressed in this e-mail are those of the individual sender and may not necessarily reflect the views of or be a commitment by the organisation, except where the individual sender has the authority and expressly states them to be so.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: JMS Appender authentication

Posted by Gary Gregory <ga...@gmail.com>.
Hi Leor,

I do not see an example for this feature. You'll have to take a look at the
source for the JmsAppender class:


On Fri, Apr 10, 2020 at 2:53 PM Leor Amikam <Le...@hansencx.com>
wrote:

> Hi we are using the JMS Appender with just cleartext username/password. I
> see in the configuration there is securityPrincipalName and
> securityCredentials.  I am not sure how to use that. Is there an example
> somewhere that I can look at?
>
> Thanks!
>
> Leor
>
> Notice:  This e-mail and any attachments are confidential and may contain
> legally privileged information and/or copyright material of Hansen
> Technologies Limited or third parties.  Copying, distributing, disclosing,
> commercialising or otherwise acting in reliance on this e-mail and any
> attachments is strictly prohibited unless you are the addressee of this
> e-mail and have written permission to do so.  If you have received this
> e-mail in error please delete this e-mail (including any copies and
> attachments) and contact Hansen Technologies Limited by return e-mail or by
> telephone on + 61 3 9840 3000.  Any views expressed in this e-mail are
> those of the individual sender and may not necessarily reflect the views of
> or be a commitment by the organisation, except where the individual sender
> has the authority and expressly states them to be so.
>