Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-985

jboss-dmr APIs are unable to parse swedish characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Alpha2
    • None
    • CLI
    • Hide

      un the following CLI command which will fail:

      [standalone@localhost:9999 /] /core-service=management/ldap-connection=ldap_connection/:add(search-credential=jboss@123,url=ldap://xx.xx.xxx.xx:389,search-dn="ou=\\u00E5\\u00E5
      u00E5,dc=example,dc=com")

      Show
      un the following CLI command which will fail: [standalone@localhost:9999 /] /core-service=management/ldap-connection=ldap_connection/:add(search-credential=jboss@123,url=ldap://xx.xx.xxx.xx:389,search-dn="ou=\\u00E5\\u00E5 u00E5,dc=example,dc=com")

      JBossAS 7.2 dmr-api's are unable to parse swedish characters .

      Example:
      ========= Run the following CLI command which will fail:

      [standalone@localhost:9999 /] /core-service=management/ldap-connection=ldap_connection/:add(search-credential=jboss@123,url=ldap://xx.xx.xxx.xx:389,search-dn="ou=\\u00E5\\u00E5
      u00E5,dc=example,dc=com")

      Ideally it should have generated the following configuration inside the server profile (standalone.xml)

      <outbound-connections>
      <ldap name="ldap_connection" url="ldap://xx.xx.xxx.xx:389" search-dn="ou=ååå,dc=example,dc=com" search-credential="jboss@123"/>
      </outbound-connections>

            olubyans@redhat.com Alexey Loubyansky
            jaysensharma Jay SenSharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: