Friday, December 30, 2011

Create an Image object from a url that requires authentication

Hello all,

I have some images stored in urls that are password protected, for
example I have the url imageUrl = The
problem is that I cannot use this url in the constructor of Image,
because then everyone can view the source and know these credentials.

Is there a way to authenticate to extract the username and password
from the url and establish an authenticated connection with that
server? And then use the plain url?

Thanks for any help.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment