com.noelios.restlet.authentication
Class SmtpPlainHelper

java.lang.Object
  extended by com.noelios.restlet.authentication.AuthenticationHelper
      extended by com.noelios.restlet.authentication.SmtpPlainHelper

public class SmtpPlainHelper
extends AuthenticationHelper

Implements the SMTP PLAIN authentication.

Author:
Jerome Louvel

Constructor Summary
SmtpPlainHelper()
          Constructor.
 
Method Summary
 void formatCredentials(java.lang.StringBuilder sb, ChallengeResponse challenge, Request request, Series<Parameter> httpHeaders)
          Formats a challenge response as raw credentials.
 
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
 

Constructor Detail

SmtpPlainHelper

public SmtpPlainHelper()
Constructor.

Method Detail

formatCredentials

public void formatCredentials(java.lang.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.