Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12709

Server Editor too aggressive in loading/saving password string

    XMLWordPrintable

Details

    • Hide
      The JBoss server editor would insist a user provide their password just to access the editor. This issue has been resolved by modifying the ServerPasswordSection.java file so a password is only required when appropriate options are changed within the server editor.
      Show
      The JBoss server editor would insist a user provide their password just to access the editor. This issue has been resolved by modifying the ServerPasswordSection.java file so a password is only required when appropriate options are changed within the server editor.
    • Documented as Resolved Issue

    Description

      Immediately upon opening a server editor, it asks for the credentials just to show the editor. This is so it can pre-load the 'password' field with the correct value.

      In some rare situations, simply opening the editor doesn't show the text (no idea how to replicate), however in these situations, even if you just modify the server poller (or some other small setting), executing a save on the editor will prompt for secure storage credentials, even if you never touched the password section of the editor.

      When restarting a workbench, if a server editor is open, a credential dialog will show up before the workbench does.

      This is very annoying.

      Suggestions for how to fix:

      1) Since the password is blocked from view, anyway, we can use a dummy text upon initial open.
      2) Upon a save of the editor, the password should only be persisted if and only if the user modified the password
      3) If the user modifies the password, and UNDOES the change, it should NOT prompt the user for the secure storage password.

      Attachments

        Activity

          People

            rob.stryker Rob Stryker (Inactive)
            rob.stryker Rob Stryker (Inactive)
            Isaac Rooskov Isaac Rooskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: