Package org.pentaho.platform.util
Class EncryptedPasswordAuthenticator
- java.lang.Object
-
- javax.mail.Authenticator
-
- org.pentaho.platform.util.EncryptedPasswordAuthenticator
-
public class EncryptedPasswordAuthenticator extends javax.mail.Authenticator
Password Authenticator for Pentaho stored encrypted passwords.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENCRYPTED_PREFIX
-
Constructor Summary
Constructors Constructor Description EncryptedPasswordAuthenticator(String userId, String password)
EncryptedPasswordAuthenticator(String userId, String password, Base64PasswordService base64PasswordService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.mail.PasswordAuthentication
getPasswordAuthentication()
Similar logic asKettlePasswordService.decrypt(String)
}
-
-
-
Field Detail
-
ENCRYPTED_PREFIX
public static final String ENCRYPTED_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EncryptedPasswordAuthenticator
public EncryptedPasswordAuthenticator(String userId, String password, Base64PasswordService base64PasswordService)
-
-
Method Detail
-
getPasswordAuthentication
protected javax.mail.PasswordAuthentication getPasswordAuthentication()
Similar logic asKettlePasswordService.decrypt(String)
}- Overrides:
getPasswordAuthentication
in classjavax.mail.Authenticator
- Returns:
-
-