-
Bug
-
Resolution: Fixed
-
Low (View bug fix roadmap)
-
6.2.1, 6.2.3, 6.3.15, 6.4
-
6.02
-
If you change the application password in Crowd, then when you go to edit this password in JIRA, you are forced to click "Test Settings" before you can "Save and Test". After clicking "Test Settings", the value of the password is then reset in the form to the previous value, so if you immediately click "Save and Test" after "Test Settings", the same password will be saved again.
Steps to Reproduce
- Set up an application in Crowd
- Connect JIRA to that application and check it's synchronising successfully
- Change the application password for that application in Crowd
- Disable and re-enable the directory in JIRA to immediately invalidate the session to Crowd
- Force a sync and watch it fail
- Edit the directory
- Enter the new password and click "Test Settings"
- After the test succeeds, click "Save and Test"
- Observe that the sync still fails
- Observe that the password value stored in cwd_directory_attribute table is still holding the old password
Expected Results
The value should be held after clicking "Test Settings", so that then clicking "Save and Test" will work correctly.
Actual Results
The value is lost, so the new password doesn't get saved
Workaround
After clicking "Test Settings", enter the new password again into the form before clicking "Save and Test"
Workaround for Delegated LDAP Connector
Do not click the 'Test Settings' button
- Open console in the browsers developer tools and run the following commands
AJS.$('#configure-delegating-ldap-form-submit').removeAttr("aria-disabled"); AJS.$('#configure-delegating-ldap-form-submit').removeAttr("disabled");
- That will allow you to click the 'Save and Test' button, with first clicking 'Test Settings'
- is a regression of
-
CONFSERVER-36047 LDAP Username and Password Disclosure - Embedded Crowd
-
- Closed
-
-
JRASERVER-29656 LDAP Username and Password Disclosure - Embedded Crowd
-
- Closed
-
- is duplicated by
-
JRASERVER-38638 LDAP connector credentials not stored properly when editing user directory
-
- Closed
-
-
JRASERVER-39034 User Directories - "Test Settings" replaces a new password with the old one
-
- Closed
-
- is related to
-
CONFSERVER-36370 When editing an existing Crowd directory to change the application password, the application password value is reset to an old value after clicking "Test Settings"
-
- Closed
-
-
EMBCWD-976 Loading...
This is also there in Confluence 5.7.
Just spent half a day bashing my head into this brick wall...