Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / July 2005

Tip: Looking for answers? Try searching our database.

WSE 3.0 Passing UsernameToken between services

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jake Pugois - 14 Jun 2005 22:07 GMT
I have a web service (let's call B) that consumes another web service (A).
Web service A requires a UsernameToken . Now, there is a winforms client (C)
that consumes web service B. How do I pass the UsernameToken from C to A
through B using WSE 3.0?
Sidd - 06 Jul 2005 07:38 GMT
Hi Jake,

   I'd like to understand your scenario a little more. Clearly you want to
flow some sort of identity from B to A. Is this flow of identity because
a) you want to do authorization checks at A, instead of doing it a B. Since
A would trust B, B could just put in the username in some header for A.
b) security between B and A is important? If so, how are you going to secure
the message exchange? Resigning with the same username token at B would
defeat the purpose since really the UsernameToken is from A, and hence only
A can sign it
c) You could send a username/password in plain text to B (offcourse the
username would be encrypted by B's X509 public key), B does a LogonUser
against Active Directory by default, B the impersonates using that identity,
and then could use something like Kerberos to talk to A (this would involve
setting up delegation at the domain controller, and C, A and B would have to
be set up in a private domain)

   The problem with the trivial approach is that once B receives the
username token, it does not have access to the password, and hence cannot
just create a new username token to send to A. Let me know what your
scenario is and I'm sure i'll be able to address your concern a little
better

Thanks,

Sidd [MSFT]

> I have a web service (let's call B) that consumes another web service (A).
> Web service A requires a UsernameToken . Now, there is a winforms client (C)
> that consumes web service B. How do I pass the UsernameToken from C to A
> through B using WSE 3.0?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.