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 / September 2004

Tip: Looking for answers? Try searching our database.

How to generate username or kerberos tokens automatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
IP - 27 Sep 2004 22:53 GMT
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
IP - 27 Sep 2004 23:39 GMT
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

> How can I generate username or kerberos tokens automatically?
>
[quoted text clipped - 14 lines]
> Thanks in advance,
> IP
Hervey Wilson [MSFT] - 28 Sep 2004 06:23 GMT
> P.S. - I am trying to have the tokens generated without explicitly writing
> any code. I assume that is what the autoIssueSecurityContextToken setting
[quoted text clipped - 21 lines]
>>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.

Signature

This posting is provided "AS IS", with no warranties, and confers no rights.


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.