How do I escape passwords with special characters in Fuse?

Solution Verified - Updated -

Issue

My LDAP password contains special characters, however, I'm unable to encode the password properly in my blueprint configuration, i.e:

<jaas:module className="org.apache.karaf.jaas.modules.ldap.LDAPLoginModule" flags="required">
      initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
      connection.username=ldapuser
      connection.password=pwd#x&t{>n=<75~n%
<snip>

We receive errors when the bundle is started.

Environment

  • JBoss A-MQ 6.0
  • JBoss Fuse 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content