public class AWSAuthorizationProvider extends Object implements AuthorizationProvider
Constructor and Description |
---|
AWSAuthorizationProvider(String tokenId,
String tokenSecret)
Authorization Provider for AWS authentication.
|
Modifier and Type | Method and Description |
---|---|
org.restlet.data.ChallengeResponse |
getChallengeResponse(org.restlet.data.Request request,
Map<String,Object> headers)
Construct a ChallengeResponse based on the settings in this provider.
|
public org.restlet.data.ChallengeResponse getChallengeResponse(org.restlet.data.Request request, Map<String,Object> headers) throws GeneralSecurityException
AuthorizationProvider
getChallengeResponse
in interface AuthorizationProvider
request
- The request involved. May or may not need to be referenced when constructing the response.headers
- The associated headers. Also may or may not need to be referenced.ChallengeResponse
GeneralSecurityException
- if any errors occurred while constructing the response.