Nielsen's Weblog : .NET [use your Context dude]
Updated: 29-03-2004; 23:54:58.

 

Subscribe to "Nielsen's Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

3. februar 2004

ok focusing again on the technology preview of WSE 2.0, I find my samples which I made with WSE 1.0 are no longer working (surprise:)), it seems that the IPasswordProvider interface (strange interface anyway imo) is gone and has been replaced with the UsernameTokenManager class. You now have to override the AuthenticateToken method (previous GetPassword). WSE will then match the passwords internally and return it....although I don't see the point in this...true/false would be enough imo.


Anyway I must be the last one to know that the IPasswordProvider interface is obsolete :).

<microsoft.web.services>
    <security>
       <passwordProvider type = "mywssamples.MyAuth, mywssamples"/>

replaced by :

<microsoft.web.services>
    <security>
      <securityTokenManager type ="mywssamples.MyAuth, mywssamples"/>

oh man, "love" them cryptic config files...

sample works again, happy.

I hope Indigo simplifies this ....

"Our commitment to COM is not finished...but our annual $6.8 billion (research and development) spend is not going on Ole32.dll."
-- Don Box.

LOL.


5:13:10 PM    comment []

© Copyright 2004 Allan Nielsen.



Click here to visit the Radio UserLand website.

 


February 2004
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29            
Jan   Mar