Re: How to generate username or kerberos tokens automatically
From: Hervey Wilson [MSFT] (herveyw.nospam_at_nospam.microsoft.com)
Date: 09/28/04
- Next message: Hervey Wilson [MSFT]: "Re: Signing/Encrypting with kerberos token or usernametoken"
- Previous message: Hervey Wilson [MSFT]: "Re: X509 Certificate encryption problem"
- In reply to: IP: "RE: How to generate username or kerberos tokens automatically"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 22:23:38 -0700
IP wrote:
> P.S. - I am trying to have the tokens generated without explicitly writing
> any code. I assume that is what the autoIssueSecurityContextToken setting
> does.
>
> Thanks again,
> IP
>
> "IP" wrote:
>
>
>>How can I generate username or kerberos tokens automatically?
>>
>>I have the following configuration in my app.config:
>> <microsoft.web.services2>
>> <policy>
>> <cache name="../../policyCache.config" />
>> </policy>
>> <diagnostics/>
>> <tokenIssuer>
>> <autoIssueSecurityContextToken enabled="true" />
>> </tokenIssuer>
>> </microsoft.web.services2>
>>
>>However, if I don't add the token explicitly in my code, the web service
>>call fails.
>>
>>Thanks in advance,
>>IP
No, it's not what autoIssueSecurityContextToken does. This is a
receiver-side setting that enables WS-SecureConversation for all
services in the current app domain. Issuing a SecurityContextToken still
requires that the client present a valid base token, for example either
UsernameToken or KerberosToken.
At the client, UsernameTokens cannot be generated automatically since
they require a password value. KerberosTokens can be generated
automatically if you configure the policy file for the client correctly.
There should be examples of this in the samples for the product.
-- This posting is provided "AS IS", with no warranties, and confers no rights.
- Next message: Hervey Wilson [MSFT]: "Re: Signing/Encrypting with kerberos token or usernametoken"
- Previous message: Hervey Wilson [MSFT]: "Re: X509 Certificate encryption problem"
- In reply to: IP: "RE: How to generate username or kerberos tokens automatically"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|