Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 78290 - [FTP WebDAV] username not stored / asked for
Summary: [FTP WebDAV] username not stored / asked for
Status: RESOLVED DUPLICATE of bug 102785
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 79386 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-10 09:53 EST by Erlend Halvorsen CLA
Modified: 2005-07-06 09:18 EDT (History)
2 users (show)

See Also:


Attachments
Plugin which resolves your problem. (114.86 KB, application/octet-stream)
2005-06-14 09:44 EDT, Olivier Oeuillot CLA
no flags Details
Modified org/eclipse/target/AuthenticatedSite.java (4.09 KB, text/plain)
2005-06-14 09:49 EDT, Olivier Oeuillot CLA
no flags Details
Modified org/eclipse/target/Site.java (6.89 KB, text/plain)
2005-06-14 09:50 EDT, Olivier Oeuillot CLA
no flags Details
Patch (1.61 KB, patch)
2005-06-14 10:33 EDT, Olivier Oeuillot CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erlend Halvorsen CLA 2004-11-10 09:53:36 EST
Im hoping this is the correct product/platform to report this. The FTP/WebDAV
plugin doesn't save the username/password you enter the first time you create a
new site, nor does it ask for this on subsequent requests. 

To reproduce:
Create a new ftp syncronization, with ip adress in the adress field and username
and password in their respective fields. Syncronization now works fine, but
after restarting the application, the username/password is lost, and an isNull()
assertion on username/password failes in
org.eclipse.ftp.internal.FTPClient.authenticate().

Workaround:
manually edit the .deployments file (under
eclipse\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\<projectname>\org.eclipse.team.core)
and change the url to standard username:password@url.
Comment 1 Michael Valenta CLA 2004-12-01 10:46:36 EST
*** Bug 79386 has been marked as a duplicate of this bug. ***
Comment 2 Michael Valenta CLA 2004-12-01 10:47:42 EST
This plugin is not being actively developed or maintained. Patches will be 
accepted.
Comment 3 Michael Valenta CLA 2005-05-06 17:12:03 EDT
The FTP plugin is currently not being actively developed or maintained.
Comment 4 Olivier Oeuillot CLA 2005-06-14 09:44:47 EDT
Created attachment 23049 [details]
Plugin which resolves your problem.

Stop eclipse,
Remove folder "eclipse/plugins/org.eclipse.target"
Copy this file into eclipse/plugins.  (Do not uncompress it !)
Comment 5 Olivier Oeuillot CLA 2005-06-14 09:49:06 EDT
Created attachment 23050 [details]
Modified org/eclipse/target/AuthenticatedSite.java

Added Method:

protected void initializeAuthorization()
Comment 6 Olivier Oeuillot CLA 2005-06-14 09:50:35 EDT
Created attachment 23051 [details]
Modified org/eclipse/target/Site.java

Modified method:
void init()

Added methode:
protected void initializeAuthorization()
Comment 7 Olivier Oeuillot CLA 2005-06-14 10:33:48 EDT
Created attachment 23053 [details]
Patch
Comment 8 Michael Valenta CLA 2005-07-06 09:18:25 EDT
Reopening
Comment 9 Michael Valenta CLA 2005-07-06 09:18:45 EDT

*** This bug has been marked as a duplicate of 102785 ***