Hi Jeff,
In TechPreview, WSE did not cache any username tokens. In RTM, the
behavior is that if you sign
with a username, then it is automatically put in a cache, so that when a
reply comes back encrypted with the same
token, it can decrypt it.
One side effect of caching is the behavior your are seeing below. When a
request comes in, the cache is first
looked up, and if there is a token already in the cache, then the
AuthenticateToken part is skipped and only the
VerifyPlainTextPassword is called.
In your case, when the message is received with the Username token
containing the salted password,
does that endpoint sign the message with that same token for another
endpoint. Is it possible to describe
your scenario a little bit, so that I can hopefully provide you with a
little more advice?
Hope this helps a bit.
Sidd [MSFT]
> Consider the following:
>
[quoted text clipped - 24 lines]
> Thanks,
> -jk
Jeff Key - 28 Jun 2004 17:09 GMT
Hi Sidd,
Thanks for the quick response.
Rather than expanding on the current setup, which was designed with little
knowledge of WSE during the TP and is probably flawed, I'll describe our
scenario. It would be great to get direction from someone in-the-know.
Technology:
We're an ISV that sells a product consisting of two services (hosted on a
server) that can be hosted in Windows Services or IIS, as well as client
tools that talk to these services. The services are written as SoapServices
and we're registering them as HttpHandlers when hosted in IIS (we aren't
using ASMX). The clients use custom proxies that extend SoapClient.
Requirements:
Since the applications are bundled and sold as a single product, we can't
have requirements like certificate servers; anyone should be able to buy the
product and install it with minimal impact to OS configuration. Customers
can use our user database, AD, LDAP, or anything else they write a provider
for, so we must send the password over the wire. That's it, really. Simple
stuff.
What would be the simplest solution? I appreciate your input.
Thanks,
-jk
> Hi Jeff,
>
[quoted text clipped - 53 lines]
>> Thanks,
>> -jk