Class MailSessionReference.PasswordAuthenticator

  • Enclosing class:
    MailSessionReference

    public static class MailSessionReference.PasswordAuthenticator
    extends javax.mail.Authenticator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPassword()  
      javax.mail.PasswordAuthentication getPasswordAuthentication()  
      java.lang.String getUser()  
      void setPassword​(java.lang.String password)  
      void setUser​(java.lang.String user)  
      • 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

      • PasswordAuthenticator

        public PasswordAuthenticator()
      • PasswordAuthenticator

        public PasswordAuthenticator​(java.lang.String user,
                                     java.lang.String password)
    • Method Detail

      • getPasswordAuthentication

        public javax.mail.PasswordAuthentication getPasswordAuthentication()
        Overrides:
        getPasswordAuthentication in class javax.mail.Authenticator
      • setUser

        public void setUser​(java.lang.String user)
      • getUser

        public java.lang.String getUser()
      • getPassword

        public java.lang.String getPassword()
      • setPassword

        public void setPassword​(java.lang.String password)