I'm new to WSE 3 and need some advice on how to support web farms.
My requirement is that my web service calls must be authenticated, signed
and encrypted. Authentication should by by user-id and password.
The authentication needs to be brokered by a seperate web-service from the
target service and the target service can be farmed.
So far I've been looking at the usernameForCertificateSecurity turnkey
policy with the secure conversation feature enabled but I suspect this isn't
going to meet my web farm requirements.
So where do I look?
Hi Gary,
The usernameForCertificate assertion works without problems in a web farm
scenario. In addition, if you also decide to use SecureConversation feature,
you have to enable a flag in the configuration file to support that
scenario. (Take a look to this blog entry for more information about WSE and
SecureConversation,
http://weblogs.asp.net/cibrax/archive/2006/02/21/438670.aspx)
I also recommend this web services security guide from the Microsoft Pattern
& Practices team,
http://msdn.microsoft.com/library/en-us/dnpag2/html/WSSP.asp
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
> I'm new to WSE 3 and need some advice on how to support web farms.
>
[quoted text clipped - 10 lines]
>
> So where do I look?
Gary Leighton - 25 Oct 2006 22:45 GMT
Thanks Pablo.
I now understand how usernameForCertificate supports web farms now that
I've read your weblog, but I'm afraid I don't see how to support my
requirement for a seperate webservice to act as the STS.
Suppose I add two web references to my client project, one for the STS
web service and one for the main web service. I could assign the same
policy to both, with the usernameForCertificate turnkey assertion
enabled and secure conversation enabled. The STS web service could use
a custom UserNameTokenManager to authenticate and produce the secure
context token. This can then be cached on the client. What I don't see
is how to tell the client to use the same SCT when calling the main web
service.
> Hi Gary,
>
[quoted text clipped - 27 lines]
> >
> > So where do I look?