You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Dave Bagguley <da...@hotmail.com> on 2006/11/10 14:10:39 UTC
Forcing the crypto engine to reload the keystore
Hello,
I want to include code in my server side password callback that extracts the
clients public key from the signed and encrypted SOAP message, check if it's
in the service's keystore and if not then create a certificate from what was
extracted from the SOAP and add it to the keystore. I want to do this so
that clients can use services that don't have their keys yet, allowing the
services to dynamically add the keys of clients.
I have already written the code required to do the above and it all works,
clients not currently in the keystore automatically get added to it. The
problem is that the service's crypto engine doesn't read the keystore each
time it does encryption/signing, it only reads it the first time it is
initialised. This means for my code to work at the moment, the service has
to be redeployed so that it will read the keystore after it has had the key
added. Is there anyway that I can force the keystore to be reloaded after I
have updated it?
Thanks
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org