Hi Ed,
On 8/9/06, Ed Sweet <[EMAIL PROTECTED]> wrote:
Hi Ruchith,
Thanks for the reply and your advice.
I used setUserInfo() and this worked (well, it threw another exception, but
not the same one as before), so this looks like this issue has been fixed.
It's strange that you have to set the alias twice though, so I did a quick
test. You can leave ' keystore.alias' and 'alias.password' blank in
crypto.properties and this still works. I'd rather set it all in one place
though...
I'm not sure WSS4J (Merlin crypto impl) recognises the alias.password
property you mentioned.
But org.apache.ws.security.crypto.merlin.keystore.aliass used as an
optional key that can be specified by the user. This will be used as
the key when a reference to the key cannot be found in the incoming
message (Security header) to decrypt or verify signature. In the case
where its used to decrypt the password much be supplied though the
callback handler.
Thanks,
Ruchith
--
www.ruchith.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]