WCF: Using basicHTTP user/pass authentication?
- From: Damir Dezeljin <Dezo@xxxxxxxxxxxxxxx>
- Date: Wed, 9 Jul 2008 01:59:00 -0700
Hi.
I have to implement an Java Axis2 web service client in .NET WCF as well a
web service to witch a Java Axis2 client will connect.
I would like to provide user identification using basicHTTP user/pass
authentication. Later I'll move both ends to SSL (https).
I already implemented the Java Axis2 end:
- Axis2 Client axis2.xml:
----
....
<module ref="rampart" />
<parameter name="OutflowSecurity">
<action>
<items>UsernameToken</items>
<user>bob</user>
<passwordCallbackClass>my.package.PWCallback</passwordCallbackClass>
</action>
</parameter>
....
----
- Axis2 Web Service service.xml:
----
....
<module ref="rampart" />
<parameter name="InflowSecurity">
<action>
<items>UsernameToken</items>
<passwordCallbackClass>si.around.fri.pis.PWCallback</passwordCallbackClass>
</action>
</parameter>
....
----
I already read the MSDN docs
(http://msdn.microsoft.com/en-us/library/ms734769.aspx and others); however,
I feel a bit lost in all the buzzwords appearing there.
Can someone point me to the correct reference or even better give a relevant
web.config snap?
BTW: Will I have to use Windows built in users? Is it possible using my own
users database?
Thanks,
Damir Dezeljin
.
- Prev by Date: WebMethod in a Plug-in
- Next by Date: and still...what about the note?
- Previous by thread: WebMethod in a Plug-in
- Next by thread: and still...what about the note?
- Index(es):