Hi Niels,
A soap envelope can contain one or more security headers, but each security
header must have an actor. Usually, the soap envelope contains one security
header with the default actor "".
The idea behind the actor in the security header is the following:
1. If you send an envelope with N security header, each one must have a
security actor.
2. You must have N security filters in the service to process those headers.
One filter per actor and each filter is responsible to process its security
header.
If you take a look to the Credentials class in WSE, it is a collection and
accepts an actor as parameter to return the Client and Service credentials.
I am saying that each security header can only contain two tokens, a token
for the client credentials and a token for the service credentials. It
doens't have nothing to do with the token types.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
http://www.lagash.com
> Hi Pablo,
>
[quoted text clipped - 50 lines]
>> >
>> > Niels
Niels Flensted-Jensen - 26 Jan 2006 15:16 GMT
Hi Pablo,
Thanks. Will just have to a little studying before asking more questions ;-)
And for my orignal question on an STS accepting any one of a range of
tokens, I think the WSE 3.0 sample (%ProgramFiles%\Microsoft
WSE\v3.0\Samples\CS\QuickStart\Advanced\CustomSecurityPolicyAssertion)
illustrates how to put together a custom policy (policyChoice) to handle just
that.
Regards,
Niels
> Hi Niels,
> A soap envelope can contain one or more security headers, but each security
[quoted text clipped - 74 lines]
> >> >
> >> > Niels
Pablo Cibraro - 26 Jan 2006 16:10 GMT
Yes, you are right.
I didn't know anything about the existence of that sample. It would be
great to configure that policy (policyChoice) in the SAML STS.
Regards,
Pablo.
> Hi Pablo,
>
[quoted text clipped - 109 lines]
>> >> >
>> >> > Niels