Custom UsernameTokenManager's AuthenticateToken method is not called.
- From: APA <buddy__a@xxxxxxxxxxx>
- Date: Wed, 17 Jan 2007 17:12:32 -0600
The web service will not call my custom AuthenticateToken. Here's my config setup:
<webServices>
<soapExtensionImporterTypes>
<add type="Microsoft.Web.Services3.Description.WseExtensionImporter, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</soapExtensionImporterTypes>
<soapServerProtocolFactory type="Microsoft.Web.Services3.WseProtocolFactory, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</webServices>
<microsoft.web.services3>
<security>
<securityTokenManager>
<add type="MyWebProject.CustomUsernameTokenManager" namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" localName="UsernameToken" />
</securityTokenManager>
</security>
<diagnostics />
<policy fileName="wse3policyCache.config" />
</microsoft.web.services3>
I have removed all policy configuration because that was causing a whole raft of other issues:
<policies xmlns="http://schemas.microsoft.com/wse/2005/06/policy"></policies>
I've put a breakpoint in the custom AuthenticateToken method but it never executes, it does execute the web service method though (of course it bombs out because their is no application User object being created in AuthenticateToken ).
I am at my wits end with this, I don't know what to check.
.
- Prev by Date: RE: SoapFormatException, http content
- Next by Date: Deploying certificates in a ClickOnce application
- Previous by thread: RE: SoapFormatException, http content
- Next by thread: Deploying certificates in a ClickOnce application
- Index(es):
Relevant Pages
|