com.informationkinematics.imsforward
Class Authentication.MyAuthenticator

java.lang.Object
  |
  +--javax.mail.Authenticator
        |
        +--com.informationkinematics.imsforward.Authentication.MyAuthenticator
Enclosing class:
Authentication

public class Authentication.MyAuthenticator
extends javax.mail.Authenticator

This implementation of Authenticator overrides the callback method which returns the username / password pair.


Fields inherited from class javax.mail.Authenticator
requestingPort, requestingPrompt, requestingProtocol, requestingSite, requestingUserName
 
Constructor Summary
Authentication.MyAuthenticator()
           
 
Method Summary
 javax.mail.PasswordAuthentication getPasswordAuthentication()
          Returns the class which contains the username and the password to authenticate the user on the POP3 host.
 
Methods inherited from class javax.mail.Authenticator
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite, requestPasswordAuthentication, reset
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Authentication.MyAuthenticator

public Authentication.MyAuthenticator()
Method Detail

getPasswordAuthentication

public javax.mail.PasswordAuthentication getPasswordAuthentication()
Returns the class which contains the username and the password to authenticate the user on the POP3 host.
Overrides:
getPasswordAuthentication in class javax.mail.Authenticator
Returns:
javax.mail.PasswordAuthentication