com.noelios.restlet.authentication
Class SmtpPlainHelper
java.lang.Object
com.noelios.restlet.authentication.AuthenticationHelper
com.noelios.restlet.authentication.SmtpPlainHelper
public class SmtpPlainHelper
- extends AuthenticationHelper
Implements the SMTP PLAIN authentication.
- Author:
- Jerome Louvel
Methods inherited from class com.noelios.restlet.authentication.AuthenticationHelper |
authenticate, challenge, format, 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 |
SmtpPlainHelper
public SmtpPlainHelper()
- Constructor.
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.