apache/incubator-brooklyn — pull request #185 by neykov (2014-09-23 12:34:09+00:00)
Title: Support credentials parameters in URLs - http://user:pass@host

Use HttpClient for HTTP URLs in ResourceUtils.getResourceFromUrl

HttpUrlConnection doesn't support authenticating using credentials in the url (http://user:pass@host) and redirecting between protocols.
Switch to HttpClient which supports multiple authentication protocols and manually get the credentials from the URL, passing them to HttpClient.