edu.uoc.tcfj2ee_gatd.model.atencio
Class AtentificadorEMailSenzill

java.lang.Object
  extended by javax.mail.Authenticator
      extended by edu.uoc.tcfj2ee_gatd.model.atencio.AtentificadorEMailSenzill

 class AtentificadorEMailSenzill
extends javax.mail.Authenticator

Autentificador. Estableix usuari i clau per a la sessió SMTP.

Author:
Jordi Tejero

Constructor Summary
AtentificadorEMailSenzill(java.lang.String usuari, java.lang.String clau)
          Constructor
 
Method Summary
protected  javax.mail.PasswordAuthentication getPasswordAuthentication()
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

AtentificadorEMailSenzill

AtentificadorEMailSenzill(java.lang.String usuari,
                          java.lang.String clau)
Constructor

Parameters:
usuari - nom d'usuari SMTP
clau - clau d'accés SMTP
Method Detail

getPasswordAuthentication

protected javax.mail.PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class javax.mail.Authenticator

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object