axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qvall <>
Subject ws-security: Encryption using UserToken
Date Sat, 29 Dec 2007 23:10:45 GMT

I would like to encrypt and sign my requests any responses using WSS4J and
but can't figure it out how to make it. I searched the archive and came
across  where is
about symmetric encryption. Unfortunately links to axis2 snippets are dead
I couldn't track current path in svn.

I guess I should play with "encryptionKeyIdentifier", "EmbeddedKeyName",
"encryptionSymAlgorithm" according to other link that works. However i still
don't know how
to make it. Especially how can i reference UserToken that is generated to be
used to 
signature and encryption? I've tried on my own but
wss4j apidoc  is not clear enough to me. 
I would appreciate any code snippets or links where it is explained in

In case it is not supported right now I'm also wondering is there any way to
response from server (using x509 Certificates) without knowing client's
public key in advance?
I mean in many samples I saw that server's keystore had client's cert. I
would like to 
avoid it since this requires modifing server with each new client. Does
has something to do it with?

I'm new to WS-S and I hope there is some simple solution for my simple

View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message