Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9527

There is wrong default *relative-to* path for CredentialStore, is set to folder from which we started EAP server.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • 7.1.0.DR13
    • Security
    • None

    Description

      There is set wrong default relative-to path for CredentialStore.
      Default relative-to path is set to folder from which we started EAP server.

      e.g.:

      • cd EAP_FOLDER
      • ./bin/standalone.sh
      • relative-to is se to EAP_FOLDER
        or
      • cd EAP_FODER/bin
      • ./standalone.sh
      • relative-to is se to EAP_FOLDER/bin

      How to reproduce

      /subsystem=elytron/credential-store=cs007:add(uri="cr-store://test/keystorecs007.jceks?create=true", credential-reference= {clear-text=pass123})
      
      /subsystem=elytron/credential-store=cs007/alias=newCs007:add(secret-value=Elytron)
      

      Now you can see in EAP_FOLDER (it can be different, see above) keystorecs007.jceks file
      I would expect this file in data directory of server.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: