com.sap.mdm.session
Class SSLHelper

java.lang.Object
  extended bycom.sap.mdm.session.SSLHelper

public class SSLHelper
extends Object

This class represents set of utilities to SSL connectivity


Constructor Summary
SSLHelper()
           
 
Method Summary
static MdmSecureSocketFactory getSAPSecureSocketFactory()
          Deprecated. replaced with getSAPSecureSocketFactory(int)
static MdmSecureSocketFactory getSAPSecureSocketFactory(int sslType)
          Create an instance of SAP SocketFactory based on MDMKeystore that should exist on NWA.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLHelper

public SSLHelper()
Method Detail

getSAPSecureSocketFactory

public static MdmSecureSocketFactory getSAPSecureSocketFactory()
                                                        throws ConnectionException
Deprecated. replaced with getSAPSecureSocketFactory(int)

Create an instance of SAP SocketFactory based on MDMKeystore that should exist on NWA. Socket factory is based only on the server certificate. The MDMKeystore view is created during deployment of MDM Connector. This view should include valid certificate (.crt file) for the desired MDS.

Returns:
instance of SocketFactory
Throws:
ConnectionException

getSAPSecureSocketFactory

public static MdmSecureSocketFactory getSAPSecureSocketFactory(int sslType)
                                                        throws ConnectionException
Create an instance of SAP SocketFactory based on MDMKeystore that should exist on NWA. The MDMKeystore view is created during deployment of MDM Connector. This view should include valid certificate (.crt file) for the desired MDS.

Parameters:
sslType - the type SSL connection
Returns:
instance of SocketFactory
Throws:
ConnectionException
See Also:
{@link MdmSecureSocketFactory#SSL_TYPE_SERVER_AUTHENTICATION}, {@link MdmSecureSocketFactory#SSL_TYPE_SERVER_AUTHENTICATION}


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.