Package org.restlet.ext.crypto.internal
Class HttpAwsQueryHelper
- java.lang.Object
-
- org.restlet.engine.Helper
-
- org.restlet.engine.security.AuthenticatorHelper
-
- org.restlet.ext.crypto.internal.HttpAwsQueryHelper
-
public class HttpAwsQueryHelper extends AuthenticatorHelper
Implements the HTTP authentication for the Amazon Web Services.
-
-
Constructor Summary
Constructors Constructor Description HttpAwsQueryHelper()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceupdateReference(Reference resourceRef, ChallengeResponse challengeResponse, Request request)Optionally updates the request with a challenge response before sending it.-
Methods inherited from class org.restlet.engine.security.AuthenticatorHelper
formatRequest, formatResponse, getChallengeScheme, getLogger, isClientSide, isServerSide, parseRequest, parseResponse, setChallengeScheme, setClientSide, setServerSide
-
-
-
-
Method Detail
-
updateReference
public Reference updateReference(Reference resourceRef, ChallengeResponse challengeResponse, Request request)
Description copied from class:AuthenticatorHelperOptionally updates the request with a challenge response before sending it. This is sometimes useful for authentication schemes that aren't based on the Authorization header but instead on URI query parameters or other headers. By default it returns the resource URI reference unchanged.- Overrides:
updateReferencein classAuthenticatorHelper- Parameters:
resourceRef- The resource URI reference to update.challengeResponse- The challenge response provided.request- The request to update.- Returns:
- The original URI reference if unchanged or a new one if updated.
-
-