com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Encrypting Secure Endpoint Passwords
When creating an API using the API Publisher, you specify the endpoint of its backend implementation in the Implement tab. If you select the endpoint as secured, you are prompted to give credentials in plain-text.
The steps below show how to secure the endpoint's password that is given in plain-text in the UI.
- Shut down the server if it is already running and set the element
<EnableSecureVault>
in<APIM_HOME>/repository/conf/api-manager.xml
totrue
. By default, the system stores passwords in configuration files in plain text because this values is set tofalse
. - Define synapse property in the synapse.properties file as follows:
synapse.xpath.func.extensions=org.wso2.carbon.mediation.security.vault.xpath.SecureVaultLookupXPathFunctionProvider.
Run the cipher tool available in
<APIM_HOME>/bin
. If on windows, the file isciphertool.bat
. If you are using the default keystore, givewso2carbon
as the primary keystore password when prompted.sh ciphertool.sh -Dconfigure
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.