org.jclouds.digitalocean.http.filters
Class AuthenticationFilter

java.lang.Object
  extended by org.jclouds.digitalocean.http.filters.AuthenticationFilter
All Implemented Interfaces:
org.jclouds.http.HttpRequestFilter

@Singleton
public class AuthenticationFilter
extends Object
implements org.jclouds.http.HttpRequestFilter

Adds the authentication query parameters to the requests.

Author:
Sergi Castro, Ignasi Barrera

Field Summary
static String CREDENTIAL_PARAM
           
static String IDENTITY_PARAM
           
 
Method Summary
 org.jclouds.http.HttpRequest filter(org.jclouds.http.HttpRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTITY_PARAM

public static final String IDENTITY_PARAM
See Also:
Constant Field Values

CREDENTIAL_PARAM

public static final String CREDENTIAL_PARAM
See Also:
Constant Field Values
Method Detail

filter

public org.jclouds.http.HttpRequest filter(org.jclouds.http.HttpRequest request)
                                    throws org.jclouds.http.HttpException
Specified by:
filter in interface org.jclouds.http.HttpRequestFilter
Throws:
org.jclouds.http.HttpException


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.