Hi
Can CXF JAASLoginInterceptor help ?
CXF endpoint declaration in Spring or Blueprint with its interceptors
section referencing JAASLoginInterceptor (with one or two properties
set) is all what is needed to have a user authenticated against JAAS, be
it in Karaf or Tomcat.
http://cxf.apache.org/docs/security.html#Security-JAASLoginInterceptor
Thanks, Sergey
On 03/11/14 11:12, Hilderich wrote:
Hello Christian,
I did exactly as you described above but no authentication mechanism is
triggered. I have tried your two approaches as well and no authentication
mechanism ever came into action. Maybe there is something wrong with my
versions:
Apache Karaf 2.3.2
Apache CXF 2.7.6
Apache Camel 2.11.1
I have read this
https://issues.apache.org/jira/browse/CXF-5863
but I am not sure if this is the reason.
Last week I have commenced with an update to Karaf 3.0.2 but so far I am not
able to start my bundle because cxf bus in blueprint cannot initialized
(this part in bluprint.xml: <httpj:engine-factory bus="cxf">). Probably this
has something to do with wrong versions and missing imports. I am very
discouraged.
Kind regards,
Hilderich
--
View this message in context:
http://camel.465427.n5.nabble.com/Adding-jaas-authentication-to-a-cxf-endpoint-in-karaf-tp5758340p5758448.html
Sent from the Camel - Users mailing list archive at Nabble.com.