Package com.iplanet.am.util
Class AMUserNamePasswordAuthenticator
- java.lang.Object
-
- jakarta.mail.Authenticator
-
- com.iplanet.am.util.AMUserNamePasswordAuthenticator
-
public class AMUserNamePasswordAuthenticator extends jakarta.mail.Authenticator
-
-
Constructor Summary
Constructors Constructor Description AMUserNamePasswordAuthenticator(String user, String password)Public constructor that takes user name and user password.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected jakarta.mail.PasswordAuthenticationgetPasswordAuthentication()Gets a PasswordAuthentication object
-
-
-
Method Detail
-
getPasswordAuthentication
protected jakarta.mail.PasswordAuthentication getPasswordAuthentication()
Gets a PasswordAuthentication object- Overrides:
getPasswordAuthenticationin classjakarta.mail.Authenticator- Returns:
- An PasswordAuthentication object based on the user name and password passed in from the constructor.
-
-