com.moyosoft.exchange
Class Exchange.Settings

java.lang.Object
  extended by com.moyosoft.exchange.Exchange.Settings
Enclosing class:
Exchange

public static final class Exchange.Settings
extends java.lang.Object


Field Summary
static boolean AutoFillContactFields
           
static boolean AutoSetTimeZones
           
static java.lang.String ProxyHostname
           
static java.lang.String ProxyPassword
           
static int ProxyPort
           
static java.lang.String ProxyUsername
           
static ExchangeServiceClientFactory ServiceClientFactory
          Allows to specify a factory to create a custom service client handling the HTTP requests and responses between the Java application and the Exchange server.
static boolean UseNTLMAuthentication
           
static java.lang.String UseServerVersion
           
 
Method Summary
static boolean isTrustInvalidCertificate()
           
static void setTrustInvalidCertificate(boolean trustInvalidCertificate)
          Defines whether invalid certificates are trusted or not.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ProxyHostname

public static java.lang.String ProxyHostname

ProxyPort

public static int ProxyPort

ProxyUsername

public static java.lang.String ProxyUsername

ProxyPassword

public static java.lang.String ProxyPassword

UseNTLMAuthentication

public static boolean UseNTLMAuthentication

AutoFillContactFields

public static boolean AutoFillContactFields

AutoSetTimeZones

public static boolean AutoSetTimeZones

UseServerVersion

public static java.lang.String UseServerVersion

ServiceClientFactory

public static ExchangeServiceClientFactory ServiceClientFactory
Allows to specify a factory to create a custom service client handling the HTTP requests and responses between the Java application and the Exchange server. The factory will be used when the Exchange class is instantiated.

Method Detail

setTrustInvalidCertificate

public static void setTrustInvalidCertificate(boolean trustInvalidCertificate)
Defines whether invalid certificates are trusted or not. When set to true, invalid, self-signed or expired security certificate errors are ignored.

This method is useful in development environments where a valid SSL certificate is not used.


isTrustInvalidCertificate

public static boolean isTrustInvalidCertificate()