This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 167706

Summary: Username and password is ignored for SOCKS proxy
Product: platform Reporter: Petr Cyhelsky <cyhelsky>
Component: -- Other --Assignee: Petr Cyhelsky <cyhelsky>
Status: RESOLVED FIXED    
Severity: blocker CC: issues, jrechtacek
Priority: P2 Keywords: VISUALVM
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Cyhelsky 2009-06-26 16:03:18 UTC
Steps to reproduce: setup SOCKS proxy requiring username/password autentification -> set it as netbeans proxy in
Advanced Proxy Options dialog(don't forget filling Username and Password) -> try reloading catalog in AUC ->
"Authentication Required" dialog pops up for every connection through the SOCKS proxy.
Comment 1 Petr Cyhelsky 2009-06-26 16:19:32 UTC
Problem probably is, that in org.netbeans.core.NbAuthenticator.getPasswordAuthentication() this dialog is automatically
invoked if getRequestorType() returns ...SERVER
Comment 2 Jiri Rechtacek 2009-07-22 09:32:45 UTC
Petre, I have been promised you would propose a patch. Are you going to patch it? Thanks
Comment 3 Petr Cyhelsky 2009-07-22 09:40:00 UTC
tomorrow at the latest
Comment 4 Petr Cyhelsky 2009-07-23 14:02:54 UTC
fixed in http://hg.netbeans.org/profiler-main/rev/b114d841f7f1
Comment 5 Quality Engineering 2009-07-24 05:40:20 UTC
Integrated into 'main-golden', will be available in build *200907240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b114d841f7f1
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: #167706 - Use username and password set in options for SOCKS proxy