FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 201 : Request for Basic HTTP Authentication support in loadStrings()
Last modified: 2010-06-05 09:39
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
WONTFIX -
Pr
i
ority:
P5
Severity:
enhancement
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Shawn Van Every
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2005-11-06 00:04
A couple of students have been asking if they can loadStrings() from password protected
websites. A quick test informs me that URLs with the form of:
http://username:password@host.domain
do not do the trick..
It would be nice if they did but certainly not imperative..
Additional Comment
#1 From fry 2005-11-06 11:02
this page provides an example of how to do this in java 1.2+
http://builder.com.com/5100-6370_14-1049444-2.html
generally this is something we'd probably support through a library. almost nothing uses
basic authentication anymore so it's probably of limited usefulness for the core library.
most user/password authentication schemes are done via cookies (any time that it's a
regular text field for loggin in, rather than a dialog box that pops up), which requires a more
complicated set of classes, which could also be implemented via a library.
Additional Comment
#2 From fry 2010-06-05 09:39
nah, just send people to Apache HttpClient for this.