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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.