Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 78290

Summary: [FTP WebDAV] username not stored / asked for
Product: [Eclipse Project] Platform Reporter: Erlend Halvorsen <ehalvorsen+eclipse.org>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P4 CC: mario, pierre.forestier
Version: 3.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Plugin which resolves your problem.
none
Modified org/eclipse/target/AuthenticatedSite.java
none
Modified org/eclipse/target/Site.java
none
Patch none

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 ***