Details

    • Flags:
      Important

      Description

      When password keystore (with a master password) is enabled and a password for a ldap connection should be stored this is ignored. Instead a dialog window asking for the password is shown every time.
      If password keystore is not enabled (so passwords will be stored in plain text) everything is fine.

      I tried to hunt down the bug and it should be in UIAuthHandler, following Patch helped for me:

      Index: UIAuthHandler.java
      — UIAuthHandler.java Base (BASE)
      +++ UIAuthHandler.java Locally Modified (Based On LOCAL)
      @@ -73,7 +73,7 @@
      String password = passwordsKeyStoreManager.getConnectionPassword( connectionParameter.getId() );

      // Checking if the bind password is available (the user chose to store the password)

      • if ( Strings.isEmpty( password ) ) //$NON-NLS-1$
        + if ( !Strings.isEmpty( password ) ) //$NON-NLS-1$
        {
        return new Credentials( connectionParameter.getBindPrincipal(),
        password, connectionParameter );
      1. apacheDS-storeBug
        0.9 kB
        Mathias Frohna

        Activity

        Hide
        MathiasF Mathias Frohna added a comment -

        Patchfile as mentioned in the description

        Show
        MathiasF Mathias Frohna added a comment - Patchfile as mentioned in the description
        Hide
        seelmann Stefan Seelmann added a comment -

        Great finding and thanks for the patch, applied here: http://svn.apache.org/viewvc?rev=1771513&view=rev

        Show
        seelmann Stefan Seelmann added a comment - Great finding and thanks for the patch, applied here: http://svn.apache.org/viewvc?rev=1771513&view=rev

          People

          • Assignee:
            Unassigned
            Reporter:
            MathiasF Mathias Frohna
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development