I think I can in few days, but taking into account Camels versatility and pluggability is it ok to enable JAAS as an option in the ejb component configuration? In theory any resource could have been protected with JAAS, I mean any component. So it's a question of how do we tackle it from the architectural point of view. Have to check out the source anyways:). Thanks so far.
On Fri, Sep 16, 2011 at 11:47 AM, Willem.Jiang [via Camel] < ml-node+s465427n4809972...@n5.nabble.com> wrote: > Maybe we can do some work on the EjbComponent side, to set up the JAAS > for the ejb invocation. > Do you fancy to provide a patch for it ? > > > On Fri Sep 16 16:20:57 2011, vhalitsyn wrote: > > > Hi again, > > > > I have verified the configuring the ejb component only with > > <bean id="ejb" class="org.apache.camel.component.ejb.EjbComponent"> > > <property name="properties" ref="jndiProps"/> > > </bean> > > solves the problem with the registry - great tip! Thanks! > > > > However the question with authorization still stands... Is it correct > that I > > have to do the auth manually in bean/processor with LoginContext in order > to > > get through JAAS ? > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/Can-t-get-JAAS-working-for-EJB-3-0-on-JBoss-while-routing-tp4801889p4809915.html > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > -- > Willem > ---------------------------------- > FuseSource > Web: http://www.fusesource.com > Blog: http://willemjiang.blogspot.com (English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang > Weibo: willemjiang > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Can-t-get-JAAS-working-for-EJB-3-0-on-JBoss-while-routing-tp4801889p4809972.html > To unsubscribe from Can't get JAAS working for EJB 3.0(on JBoss) while > routing., click > here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4801889&code=dmljdG9yLmhhbGl0c3luQGdtYWlsLmNvbXw0ODAxODg5fC0xMTg0NTA0NTgy>. > > -- Kind regards, Victor Halitsyn -- View this message in context: http://camel.465427.n5.nabble.com/Can-t-get-JAAS-working-for-EJB-3-0-on-JBoss-while-routing-tp4801889p4810223.html Sent from the Camel - Users mailing list archive at Nabble.com.