Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.blojsom.plugin.email
Class SimpleAuthenticator

    java.lang.Object
      javax.mail.Authenticator
          org.blojsom.plugin.email.SimpleAuthenticator

public class SimpleAuthenticator
extends javax.mail.Authenticator

Simple authenticator

Since:
  blojsom 3.0
Version:
  $Id: SimpleAuthenticator.java,v 1.1 2006/03/20 21:30:55 czarneckid Exp $
Author:
  David Czarnecki

Constructor Summary
`SimpleAuthenticator(java.lang.String username, java.lang.String password)` Construct a new simple authenticator with the given username and password

Method Summary
`protected javax.mail.PasswordAuthentication` | `getPasswordAuthentication()` Returns a `PasswordAuthentication` object with username and password

Methods inherited from class javax.mail.Authenticator
`getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleAuthenticator

    public SimpleAuthenticator(java.lang.String username,
                               java.lang.String password)

  Construct a new simple authenticator with the given username and password

Parameters:
  `username` - Username
  `password` - Password

Method Detail

### getPasswordAuthentication

    protected javax.mail.PasswordAuthentication getPasswordAuthentication()

  Returns a `PasswordAuthentication` object with username and password

  Returns:
    `PasswordAuthentication`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD