Re: UserNameToken question



Yes, this is best article I found. It was written by Tomasz Janczuk, one of
the WSE developers.

http://msdn.microsoft.com/msdnmag/issues/06/02/WSE30/

Regards,
Pablo.

"DBC User" <dbcuser@xxxxxxxxx> wrote in message
news:1149270376.061940.321980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Pablo. I am new to Policy and how to use it. Is there any
documentation I can read and understand??

Pablo Cibraro wrote:
Hi,

No, the client and service are independent.
If you change the client to use a policy, the service should work as long
as
the client policy uses the same custom token.

Regards,
Pablo.

"DBC User" <dbcuser@xxxxxxxxx> wrote in message
news:1149260227.686706.20390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Pablo,

As I was reading I noticed we need to use the policy at both ends. Is
it true? Since the web side they are still using the requestsoapcontext
and they say it seems to be working. So If I change the client side
code to use policy will I break anything?

Thanks.
Pablo Cibraro wrote:
Hi,

In order to do the same in WSE, you need to use a custom security
assertion.
I wrote an small article about that topic in my blog,
http://weblogs.asp.net/cibrax/archive/2005/07/19/419921.aspx .
You can find more examples in the WSE quickstarts.

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

"DBC User" <dbcuser@xxxxxxxxx> wrote in message
news:1149195100.506316.169030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,

I was using a token which contains more than user name and password.
I
was doing

token = CustomToken(name, pass, age);//my class
RequestSoapContext.Security.Tokens.Add(token);
RequestSoapContext.Security.Elements.Add(new
MessageSignature(token));

with this it was working fine in WSE2.0, could someone help me
convert
this to WSE3.0? or point me to a document I can read to convert this
one?

Thanks.





.



Relevant Pages

  • RE: PolicyVerificationException: WSE464: No policy could be found
    ... When I initially used the WSE 2.0 policy wizard to configure the Web Service ... side I entered the name of the service to secure which was ... When I secured only web service and not the web client, ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Down grade to WSE 2.0 from WSE 3.0
    ... understand the configuration in order to change the URL and the Certificate ... I can't just configure the client assembly using the WSE tool, ... I was hoping to manually code the Policy and Assertions in code which ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Down grade to WSE 2.0 from WSE 3.0
    ... The policy model in WSE 2.0 is completely different from the model in WSE ... the policy applies to all web services in that ... You only have to create the policy in your client application and your web ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: UserNameToken question
    ... I am new to Policy and how to use it. ... documentation I can read and understand?? ... Pablo Cibraro wrote: ... the client and service are independent. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: UserNameToken question
    ... Pablo Cibraro wrote: ... the client and service are independent. ... If you change the client to use a policy, the service should work as long ... In order to do the same in WSE, you need to use a custom security ...
    (microsoft.public.dotnet.framework.webservices.enhancements)