Hi,
WSE 3.0 does not provide a scenario to encrypt a message using only an
UsernameToken. You will have to develop your own custom security assertion
to encrypt the message with a Username token (I think there are some
implementations of this on internet).
Kerberos is another approach, and WSE already provides an security assertion
for that scenario.
In order to authenticate the user once, you will have to use the
"SecureConversation" feature. This feature is provided by default for all
security security assertion shipped within WSE 3.0 (Kerberos,
UsernameForCertificate, UsernameOverTransport, MutualX509, etc).
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
> So I am guessing maybe I need to look into using a custom STS to
> authenticate
[quoted text clipped - 18 lines]
>>
>> Thanks
Solitude - 25 Apr 2006 22:41 GMT
So if use UsernameOverTransport to do the authentication once then can I also
use message layer encryption rather than transport layer. Cause in the WSE
3.0 docs it says if you use UsernameOverTransport security assertion then you
must encrypt at the transport layer. I hope I can use it and be able to
encrypt at the message layer. Is this possible?
Thanks
> Hi,
>
[quoted text clipped - 36 lines]
> >>
> >> Thanks
Pablo Cibraro - 26 Apr 2006 14:32 GMT
No, it is not possible. WSE provides two assertions for UsernameTokens:
1. UsernameOverTransport : As you said, it does not use message encryption
and relies on the transport security.
2. UsernameForCertificate: it uses a X509 certificate to perform message
encryption and the username token to perform authentication.
You want to perform message encryption without using a certificate so the
second aproach does not work for you. You will have to develop a custom
security assertion to perform message encryption using the UsernameToken
instead of the X509 Certificate.
Does it answer your question ?
Regards,
Pablo.
> So if use UsernameOverTransport to do the authentication once then can I
> also
[quoted text clipped - 52 lines]
>> >>
>> >> Thanks