Security Toekn Configuration in Manifest File
I have a problem with manifest configuration file..................
1. I want the client to call Integrated Windows Authentication WS throught CSF.
2. I config manifest file as below to use Persona as secondary credential as below:<
<ParticipantName>HelloWorldParticipant</ParticipantName>
<ParticipantID>HelloWorldParticipant</ParticipantID>
<ParticipantUrl>http://localhost/HelloWorldService/Service.asmx</ParticipantUrl>
<PolicyDocument>
<Reference>ServiceParticipantPolicy</Reference>
<Include>
<SecondaryCredentialMap>
<PrimaryCredentialForTransporttransportAuthenticationType="Ntlm">PassThrough</PrimaryCredentialForTransport>
</SecondaryCredentialMap>
</Include>
</PolicyDocument>
</Participant>
3. The Persona configuration as below:
<
Participanttimeout="30"role="Persona"inChannelResponse="false"type="WebService"><SoapVersion>Soap12</SoapVersion>
<ParticipantName>PersonaParticipant</ParticipantName>
<ParticipantID>PersonaParticipant</ParticipantID>
<ParticipantUrl>http://localhost/IdentityManager30/IdentityManager.ashx</ParticipantUrl>
<SecurityToken>
<UsernameToken>
<Username>Chank@MyDomain</Username>
<Password>MyPassword</Password>
</UsernameToken>
</SecurityToken>
<PolicyDocument>
<Reference>PersonaParticipantPolicy</Reference>
</PolicyDocument>
</Participant>
After register the session, I tried to send message to WS. I found this error message in Window Event Log.
Unable to determine client token to use. Client token type requested was 'Microsoft.Web.Services3.Security.Tokens.UsernameToken'. The token must be provided either through policy by specifying the token in the policy assertion or through code by calling WebServicesClientProtocol.SetCredentials or using properties on the SoapContext.Credentials.
I think the type of credential required by WS is different from UsernameToken defined in Persona.
Anybody can help me to solve this problem. Thanks in advance.
Best Regards,
Chank

