com.noelios.restlet.authentication
Class HttpAmazonS3Helper
java.lang.Object
com.noelios.restlet.authentication.AuthenticationHelper
com.noelios.restlet.authentication.HttpAmazonS3Helper
public class HttpAmazonS3Helper
- extends AuthenticationHelper
Implements the HTTP authentication for the Amazon S3 service.
- Author:
- Jerome Louvel
Methods inherited from class com.noelios.restlet.authentication.AuthenticationHelper |
authenticate, challenge, format, formatParameters, getChallengeScheme, getLogger, isClientSide, isServerSide, parseRequest, parseResponse, setChallengeScheme, setClientSide, setServerSide |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpAmazonS3Helper
public HttpAmazonS3Helper()
- Constructor.
format
public String format(ChallengeRequest request)
- Description copied from class:
AuthenticationHelper
- Formats a challenge request as a HTTP header value.
- Overrides:
format
in class AuthenticationHelper
- Parameters:
request
- The challenge request to format.
- Returns:
- The authenticate header value.
formatCredentials
public void formatCredentials(StringBuilder sb,
ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders)
- Description copied from class:
AuthenticationHelper
- Formats a challenge response as raw credentials.
- Specified by:
formatCredentials
in class AuthenticationHelper
- Parameters:
sb
- The String builder to update.challenge
- The challenge response to format.request
- The parent request.httpHeaders
- The current request HTTP headers.
Copyright © 2005-2008 Noelios Technologies.