[ 
https://issues.apache.org/jira/browse/CAMEL-4993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joshua Watkins updated CAMEL-4993:
----------------------------------

    Attachment: cometdSessionAttributesAsCamelHeaders

Patch for session attributes in Cometd to be added at camel headers. This will 
enable support for downstream authorization of messages passed through the 
Cometd security policy.

This feature is disabled by default with a uri parameter to enable it. 
Additionally only  long, string, int, and double are supported as other message 
mediums may not support more. Currently, I just log an info message when an 
incompatible type is a session attribute. You may want to change this to be 
something else.
                
> Add session information from cometd to camel message headers
> ------------------------------------------------------------
>
>                 Key: CAMEL-4993
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4993
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cometd
>    Affects Versions: 2.9.0
>            Reporter: Joshua Watkins
>            Priority: Minor
>         Attachments: cometdSessionAttributesAsCamelHeaders
>
>
> The cometd component has the ability to authenticate a connection with a 
> custom SecurityPolicy.[1] This information can then be added to the cometd 
> session for further calls. Unfortunately, session attributes aren't passed to 
> the camel message for processing by endpoints and processors further down the 
> line.  
> 1. http://cometd.org/documentation/2.x/howtos/authentication

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to