Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-426

PicketLink unable to parse jboss environment variables such as "jboss.server.config.dir" that may have backslashes in the values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • PLINK_2.6.0.CR3
    • PLINK_2.5.2.FInal, PLINK_2.6.0.CR2, PLINK_2.6.0.CR1
    • COMMON
    • None
    • Compatibility/Configuration
    • Workaround Exists
    • Hide

      Use a custom variable instead of jboss environment variables and make sure to escape backslashes and dollar sign.

      Show
      Use a custom variable instead of jboss environment variables and make sure to escape backslashes and dollar sign.
    • Low

      Using jboss environment variables in PicketLink configuration does not work as expected. "jboss.server.config.dir" for instance will have file system path and using this variable "${jboss.server.config.dir}" under the picketlink.xml results in a failure on windows.

      jboss.server.config.dir = C:\test\jboss\standalone\configuration

      picketlink parses these out using Matcher.appendReplacement but does not attempt to do a "quoteReplacement" to deal with backslash and dollar sign resulting in the property value being read as:

      jboss.server.config.dir = C:testjbossstandaloneconfiguration

              anil.saldhana Anil Saldanha (Inactive)
              krisiye Kris Iyer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: