History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FISH-131
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tim Pettersen
Reporter: Wojciech Seliga
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA FishEye Plugin

The plugin does not flush (clear) valid authentication token when user changes username/password in FishEye Configuration Screen in JIRA

Created: 10/Mar/08 10:29 AM   Updated: 17/Mar/08 12:54 AM
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.5

Time Tracking:
Not Specified

Labels:


 Description  « Hide
This is quite easy to reproduce:
  • start JIRA and FishEye
  • configure trusted apps on FishEye side
  • enter any valid username/password (as configured in FishEye) in FishEye configuration screen on JIRA side
  • click Map Repositories
  • if the connection was successful, the plugin caches authentication token on JIRA side until its restarted. So changing the username/password to anything else (including clearing it out for real Trusted Application integration) does not have any result until JIRA is restarted.

I think that authToken in http://svn.atlassian.com/fisheye/browse/public/contrib/jira/jira-fisheye-plugin/trunk/src/main/java/com/atlassian/jira/ext/fisheye/rest/FishEyeRestApiManagerImpl.java?r=16350 should be cleared on every change in FishEye configuration screen.



 All   Comments   Work Log   Change History   FishEye   Crucible   Related Builds      Sort Order: Ascending order - Click to sort in descending order
Tim Pettersen - 17/Mar/08 12:54 AM
As suggested, the authToken is now cleared every time the FishEye Configuration is updated.