Package org.compiere.util
Class EMailAuthenticator
- java.lang.Object
-
- javax.mail.Authenticator
-
- org.compiere.util.EMailAuthenticator
-
public class EMailAuthenticator extends javax.mail.Authenticator
Email User Authentification- Version:
- $Id: EMailAuthenticator.java,v 1.2 2006/07/30 00:54:36 jjanke Exp $
- Author:
- Jorg Janke
-
-
Constructor Summary
Constructors Constructor Description EMailAuthenticator(String username, String password)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.mail.PasswordAuthentication
getPasswordAuthentication()
Get Password Authenticationprotected boolean
isOAuth2()
If the authenticator is using OAuth2 accountString
toString()
Get String representation
-
-
-
Method Detail
-
getPasswordAuthentication
protected javax.mail.PasswordAuthentication getPasswordAuthentication()
Get Password Authentication- Overrides:
getPasswordAuthentication
in classjavax.mail.Authenticator
- Returns:
- Password Authentication
-
isOAuth2
protected boolean isOAuth2()
If the authenticator is using OAuth2 account- Returns:
- boolean
-
-