[ https://issues.apache.org/jira/browse/CAMEL-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob van de Meulengraaf updated CAMEL-3804: ------------------------------------------ Attachment: camel-cometd.patch patch for #CAMEL-3804 including unit tests and upgraded dojo-cometd extension > The camel-cometd component does not support a custom SecurityPolicy or > Extension as described on > http://cometd.org/documentation/howtos/authentication > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: CAMEL-3804 > URL: https://issues.apache.org/jira/browse/CAMEL-3804 > Project: Camel > Issue Type: Improvement > Affects Versions: 2.5.0 > Reporter: Rob van de Meulengraaf > Priority: Minor > Fix For: 2.8.0 > > Attachments: camel-cometd.patch > > > The camel-cometd component does not support a custom SecurityPolicy or > Extension as described on > http://cometd.org/documentation/howtos/authentication > A simple solution is to add setters for SecurityPolicy and Extension to the > component. If these attributes are set then also set them on the underlying > AbstractBayeux class. > About the patch: > The existing unit test is based on an interactive scenario that involves > human intervention. A similar test is made that uses an extension and another > one is made that needs authentication. To provide feedback on a failed > authentication a cometd listener is used. The version of the cometd-dojo > extension used does not support listeners so this dojo extension has also > been upgraded to 1.1.4. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira