Jacson

de.spieleck.util
Class SimpleAuthenticator

java.lang.Object
  extended byjavax.mail.Authenticator
      extended byde.spieleck.util.SimpleAuthenticator

public class SimpleAuthenticator
extends javax.mail.Authenticator

A simple Authenticator for user-password authentification.

Author:
Patrick Carl

Constructor Summary
SimpleAuthenticator(java.lang.String user, java.lang.String password)
          Creates a new SimpleAuthenticator with the given user and password
 
Method Summary
protected  javax.mail.PasswordAuthentication getPasswordAuthentication()
          returns a PasswordAuthentification
 
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 user,
                           java.lang.String password)
Creates a new SimpleAuthenticator with the given user and password

Method Detail

getPasswordAuthentication

protected javax.mail.PasswordAuthentication getPasswordAuthentication()
returns a PasswordAuthentification


Spieleck

Copyleft 2002 spieleck.de.