camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattcarlson <matt.carl...@ddsit.co.nz>
Subject NTLM request with Olingo2
Date Sun, 11 Oct 2015 19:06:56 GMT
Hi All,

I'm quite new to Camel, and need to communicate with a Microsoft based
product that has an OData API.
I am trying to use the Olingo2 component to do this.

The API accepts either NTLM or Kerberos based auth.
I can authenticate successfully with the HTTP4 component, but receive a 401
response with the Olingo2 component.

Does anyone have any idea how to make this work?
I guess I might have to authenticate with the HTTP component, then pass a
header into the olingo request.

Here's an example of the bean I've been testing with.

<bean id="odata"
class="org.apache.camel.component.olingo2.Olingo2Component">
  <property name="configuration">
    <bean class="org.apache.camel.component.olingo2.Olingo2Configuration">
      <property name="serviceUri"
value="http://server/service.svc?authUsername=username&amp;authPassword=password&amp;authDomain=domain"/>
    </bean>
  </property>
</bean>

Thanks in advance,
Matt




--
View this message in context: http://camel.465427.n5.nabble.com/NTLM-request-with-Olingo2-tp5772537.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message