Balazs, Thanks for the response. Good point about Camel not being the right
"level".
Camel's DefaultMaskingFormatter uses a set of Regex's to look for the
"secret key name" if it is formatted in three ways: key-value pair, json
name:value, of XML tag..
That's something just as easily put into Logb
I'm not sure how to use those formatters, but we used logback's "replace"
feature to make sure no credit card numbers are logged for example:
%d{HH:mm:ss.SSS} [%16.16thread] %-5level %-30.30logger{30}
\(%X{camel.breadcrumbId}\) -
%replace(%m){'(secret:)[^\s]*','$1--'}%n%xEx
Depending
I need to mask certain headers (e.g. Authorization header) at the Camel
Context level, so that even if a programmer logs "showAll", the header is
masked.
Reading the Camel docs, I thought I would implement LogListener or
ExchangeFormatter
But, looking at this thread, maybe I should extend the
Defa
Could you give me an example how can invoke a bean inside a log component?
Thank Claus.
--
View this message in context:
http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794331.html
Sent from the Camel - Users mailing list archive at Nabble.com.
be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/Mask-password-using-log-
> component-tp5794301p5794331.html
> To start a new topic under Camel - Users, email
> ml-node+s465427n465428...@n5.nabble.com
> To unsubscribe from Camel - Users, click here
> <http:/
change your message.
>
>
>> My blueprint xml is:
>>
>> ...
>>
>>
>> ...
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794322.html
>> Sent from the Camel - Users mailing li
the
so it does NOT change your message.
> My blueprint xml is:
>
> ...
>
>
> ...
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794322.html
> Sent from the Camel - U
Hi,
I've already thinks this solution.
But if mask a password into a bean before log, I modify a message that
continue in a route a lost password value.
My blueprint xml is:
...
...
--
View this message in context:
http://camel.465427.n5.nabble.com/Mask-password-using-log-comp
gt; "username": "x",
> "password": ""
> },
> "jsonrpc": "2.0"
> }
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p57
t;jsonrpc": "2.0"
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794308.html
Sent from the Camel - Users mailing list archive at Nabble.com.
problem is that request could be contains password value.
>
> Question is how can I mask password value when log body message.
>
> Thank in advance
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794
ssage in context:
http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301.html
Sent from the Camel - Users mailing list archive at Nabble.com.
12 matches
Mail list logo