@Singleton public class BasicAuthentication extends Object implements HttpRequestFilter
Constructor and Description |
---|
BasicAuthentication(String user,
String password,
Crypto crypto) |
@Inject public BasicAuthentication(@Named(value="jclouds.identity") String user, @Named(value="jclouds.credential") String password, Crypto crypto) throws UnsupportedEncodingException
UnsupportedEncodingException
public HttpRequest filter(HttpRequest request) throws HttpException
filter
in interface HttpRequestFilter
HttpException
Copyright © 2009-2012 jclouds. All Rights Reserved.