Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This sample demonstrates how WS-Security support in JAX-WS services is enabled.
 
WS-Security can be configured to the client and server endpoints by adding WSS4JInterceptors. Both server and client can be configured for outgoing and incoming interceptors. Various actions like, Timestamp, UsernameToken, Signature, Encryption, etc., can be applied to the interceptors by passing appropriate configuration properties.
 
The logging feature is used to log the inbound and outbound SOAP messages and display these to the console. In all other respects, this sample is based on the basic hello_world sample.
 
The samples in this directory use STRONG encryption. The default encryption algorithms included in a JRE are not adequate for these samples.

Info
titleInfor

For the sample, the Java Cryptography Extension (JCE), Unlimited Strength Jurisdiction Policy Files available on Oracle's JDK download page must be installed from here: ( http://www.oracle.com/technetwork/java/javase/downloads/index.html ). Else, there will be errors on invalid key lengths.

...

5. Try the sample with different QoS options which appear on its dashboard. Run "sh run-client.sh -help" for different options.

...

hiddentrue

...