ibi.broker.scheduler.plugin
Class DefaultSMTPSecurityExit

java.lang.Object
  extended by ibi.broker.scheduler.plugin.DefaultSMTPSecurityExit
All Implemented Interfaces:
SMTPSecurityExit

public class DefaultSMTPSecurityExit
extends java.lang.Object
implements SMTPSecurityExit

Author:
Yingchun Chen

Constructor Summary
DefaultSMTPSecurityExit()
           
 
Method Summary
 javax.mail.PasswordAuthentication getPasswordAuthentication(java.lang.String hostName, java.lang.String userName, java.lang.String scheduleId)
           
 boolean isSMTPAuthenticationEnabled(java.lang.String hostName)
           
 boolean isSSLEnabled(java.lang.String hostName)
           
 boolean isSTARTTLSEnabled(java.lang.String hostName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSMTPSecurityExit

public DefaultSMTPSecurityExit()
Method Detail

isSMTPAuthenticationEnabled

public boolean isSMTPAuthenticationEnabled(java.lang.String hostName)
Specified by:
isSMTPAuthenticationEnabled in interface SMTPSecurityExit
Returns:
The value of true if SMTP authentication is enabled, false if not

getPasswordAuthentication

public javax.mail.PasswordAuthentication getPasswordAuthentication(java.lang.String hostName,
                                                                   java.lang.String userName,
                                                                   java.lang.String scheduleId)
Specified by:
getPasswordAuthentication in interface SMTPSecurityExit
Returns:
A PasswordAuthentication object

isSSLEnabled

public boolean isSSLEnabled(java.lang.String hostName)
Specified by:
isSSLEnabled in interface SMTPSecurityExit
Returns:
The value of true if SSL is enabled, false if not

isSTARTTLSEnabled

public boolean isSTARTTLSEnabled(java.lang.String hostName)
Specified by:
isSTARTTLSEnabled in interface SMTPSecurityExit
Returns:
The value of true if STARTTLS is enabled, false if not


Copyright © 2006 Information Builders, Incorporated.