Package org.compiere.util
Class EMailAuthenticator
- java.lang.Object
-
- javax.mail.Authenticator
-
- org.compiere.util.EMailAuthenticator
-
public class EMailAuthenticator extends javax.mail.AuthenticatorEmail 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.PasswordAuthenticationgetPasswordAuthentication()Get Password Authenticationprotected booleanisOAuth2()If the authenticator is using OAuth2 accountStringtoString()Get String representation
-
-
-
Method Detail
-
getPasswordAuthentication
protected javax.mail.PasswordAuthentication getPasswordAuthentication()
Get Password Authentication- Overrides:
getPasswordAuthenticationin classjavax.mail.Authenticator- Returns:
- Password Authentication
-
isOAuth2
protected boolean isOAuth2()
If the authenticator is using OAuth2 account- Returns:
- boolean
-
-