myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <mkien...@gmail.com>
Subject Re: Consume a ASP.Net Service with windows Authentification from JSF
Date Thu, 25 Jul 2013 14:23:52 GMT
I really don't know the details of how it works, but the jcifs servlet
filter is sufficient to allow NTLM domain-authenticated connections from
both IE and Firefox to a JSF application most of the time, providing
all of your web.xml settings are correct.   I'm not exactly certain
how that would play out for connecting to an ASP.NET RESTful service
instead.

If nothing else, the source code should give you some idea of what's
going on in a transaction.

On Thu, Jul 25, 2013 at 3:06 AM, Georg Füchsle <giofyxle@googlemail.com> wrote:
> Thank you both,
> I will try the jcifs first.
>
> The autentication method ist NTLM. I assume the Autentification header is
> part of the http-Headers. Is this header only sent from a specially
> configured browser. Because I try with my own machine and own Browser
>
> Thanks
> Gio.
>
>
> 2013/7/24 Jim May <jim.webguru@gmail.com>
>
>> You would need to find a way to set the authentication header. I dont know
>> how easily that is with windows authentication. Maybe painful. You may have
>> to switch the authentication method OR setup something like oauth that uses
>> tokens so that the two apps trust each other.
>> On Jul 24, 2013 5:46 AM, "Georg Füchsle" <giofyxle@googlemail.com> wrote:
>>
>> > I have to make calls to an customers ASP.NET RESTful Service. This
>> service
>> > is protecetd by a windows authentification.
>> >
>> > As far as I assume, this means, the user will use a browser on a windows
>> > computer inside their company. They open my web-app that is hosted
>> outside
>> > their company. From this web-Apap I call again the REST-Service inside
>> this
>> > company. To have permission to the service I have to send the user
>> > authentification data.
>> >
>> > My question: What do I (in the JSF-web-app outside the company) have to
>> do
>> > to deliver the user-information towards the REST-service?
>> >
>> > Has anybody done something like this?
>> >
>> >
>> > Thanks in advance,
>> >
>> > Gio
>> >
>>

Mime
View raw message