Class AWSV4Scheme
- java.lang.Object
-
- com.boomi.common.rest.authentication.SimpleAuthorizationScheme
-
- com.boomi.common.rest.authentication.AWSV4Scheme
-
- All Implemented Interfaces:
Serializable
,AuthScheme
,ContextAwareAuthScheme
public class AWSV4Scheme extends SimpleAuthorizationScheme
AWS based Scheme, which uses AWS based credentials in order to generate the Authorization header. Fields used in this header is associated withHttpAWSCredentials
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AWSV4Scheme(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Header
authenticate(Credentials credentials, HttpRequest request, HttpContext context)
-
Methods inherited from class com.boomi.common.rest.authentication.SimpleAuthorizationScheme
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased, processChallenge
-
-
-
-
Constructor Detail
-
AWSV4Scheme
public AWSV4Scheme(String name)
-
-
Method Detail
-
authenticate
public Header authenticate(Credentials credentials, HttpRequest request, HttpContext context) throws AuthenticationException
- Specified by:
authenticate
in interfaceContextAwareAuthScheme
- Overrides:
authenticate
in classSimpleAuthorizationScheme
- Throws:
AuthenticationException
-
-