org.jclouds.http.filters
Class BasicAuthentication
java.lang.Object
org.jclouds.http.filters.BasicAuthentication
- All Implemented Interfaces:
- HttpRequestFilter
@Singleton
public class BasicAuthentication
- extends Object
- implements HttpRequestFilter
Uses Basic Authentication to sign the request.
- Author:
- Adrian Cole
- See Also:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAuthentication
@Inject
public BasicAuthentication(String user,
String password,
Crypto crypto)
filter
public HttpRequest filter(HttpRequest request)
throws HttpException
- Specified by:
filter in interface HttpRequestFilter
- Throws:
HttpException
Copyright © 2009-2013 jclouds. All Rights Reserved.