com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

WS-Security Sample on Signature and Encryption

This sample shows how WS-Security support can be enabled in JAX-WS. 

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.

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); otherwise, there will be errors on invalid key lengths.

Building and running the sample

This sample can be found at <AS_HOME>\samples\Jaxws-Jaxrs\ws_security\sign_encrypt_jaxws

For information on building and running the sample, see Building and Running JAX-WS Samples.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.