edu.uoc.tcfj2ee_gatd.model.atencio
Class AtentificadorEMailSenzill
java.lang.Object
javax.mail.Authenticator
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
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 |
AtentificadorEMailSenzill
AtentificadorEMailSenzill(java.lang.String usuari,
java.lang.String clau)
- Constructor
- Parameters:
usuari
- nom d'usuari SMTPclau
- clau d'accés SMTP
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