com.sap.mdm.session
Class NonNetWeaverMdmDestinationProperties

java.lang.Object
  extended bycom.sap.mdm.session.AbstractMdmDestinationProperties
      extended bycom.sap.mdm.session.NonNetWeaverMdmDestinationProperties
All Implemented Interfaces:
MdmDestinationProperties

public class NonNetWeaverMdmDestinationProperties
extends AbstractMdmDestinationProperties

Implementation of MdmDestinationProperties interface that defines all properties needed for establishing connection to destination of MDS server for applications that does not use MDM Connector or not running on NetWeaver application server.


Field Summary
 
Fields inherited from interface com.sap.mdm.session.MdmDestinationProperties
TRUST_TYPE_CERTIFICATE, TRUST_TYPE_IP, TRUST_TYPE_NONE
 
Constructor Summary
NonNetWeaverMdmDestinationProperties(String serverName)
          Constructor
NonNetWeaverMdmDestinationProperties(String serverName, String repositoryName)
          Constructor
NonNetWeaverMdmDestinationProperties(String serverName, String repositoryName, String userName)
          Constructor
 
Method Summary
 String getClientKeyPassword()
          Returns the password for the client public/private key pair
 String getClientKeystoreFile()
          Returns the path to the client keystore file (.jks file) including certificate of MDM client
 String getClientKeystorePassword()
          Returns the password for the client keystore file
 String getKeystoreFile()
          Deprecated. replaced with getServerKeystoreFile()
 String getKeystorePassword()
          Deprecated. replaced with getServerKeystorePassword()
 String getServerKeystoreFile()
          Returns the path to the server keystore file (.jks file) including certificate of MDM server
 String getServerKeystorePassword()
          Returns the password for the server keystore file
 void setClientKeyPassword(String clientKeyPassword)
          Sets the password for the client public/private key pair.
 void setClientKeystoreFile(String clientKeystoreFile)
          Sets the path to the client keystore file (.jks file) including certificate of MDM client.
 void setClientKeystorePassword(String clientKeystorePassword)
          Sets the password for the client keystore file.
 void setKeystoreFile(String keystoreFile)
          Deprecated. replaced with setServerKeystoreFile(String)
 void setKeystorePassword(String keystorePassword)
          Deprecated. replaced with setServerKeystorePassword(String)
 void setServerKeystoreFile(String serverKeystoreFile)
          Sets the path to the server keystore file (.jks file) including certificate of MDM server.
 void setServerKeystorePassword(String serverKeystorePassword)
          Sets the password for the server keystore file.
 
Methods inherited from class com.sap.mdm.session.AbstractMdmDestinationProperties
getDbmsName, getDbmsType, getRepositoryName, getServerName, getTrustType, getUserName, isTrusted, setDbmsName, setDbmsType, setRepositoryName, setTrusted, setTrustType, setUserName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonNetWeaverMdmDestinationProperties

public NonNetWeaverMdmDestinationProperties(String serverName)
Constructor

Parameters:
serverName - the MDM server name

NonNetWeaverMdmDestinationProperties

public NonNetWeaverMdmDestinationProperties(String serverName,
                                            String repositoryName)
Constructor

Parameters:
serverName - the MDM server name
repositoryName - the repository name

NonNetWeaverMdmDestinationProperties

public NonNetWeaverMdmDestinationProperties(String serverName,
                                            String repositoryName,
                                            String userName)
Constructor

Parameters:
serverName - the MDM server name
repositoryName - the repository name
Method Detail

getServerKeystoreFile

public String getServerKeystoreFile()
Returns the path to the server keystore file (.jks file) including certificate of MDM server

Returns:
the path to the server keystore file

setServerKeystoreFile

public void setServerKeystoreFile(String serverKeystoreFile)
Sets the path to the server keystore file (.jks file) including certificate of MDM server. Default value is 'null'. If server keystore file is specified then SSL secure connection will be established.

Parameters:
serverKeystoreFile - the server keystore file

getClientKeystoreFile

public String getClientKeystoreFile()
Returns the path to the client keystore file (.jks file) including certificate of MDM client

Returns:
the path to the client keystore file

setClientKeystoreFile

public void setClientKeystoreFile(String clientKeystoreFile)
Sets the path to the client keystore file (.jks file) including certificate of MDM client. Default value is 'null'. The client keystore file should be specified together with the server keystore. In this case a SSL secure connection based on server and client certificates will be established.

Parameters:
clientKeystoreFile - the server keystore file

getKeystoreFile

public String getKeystoreFile()
Deprecated. replaced with getServerKeystoreFile()

Returns the path to the server keystore file (.jks file)

Returns:
the server keystore file

setKeystoreFile

public void setKeystoreFile(String keystoreFile)
Deprecated. replaced with setServerKeystoreFile(String)

Sets the path to the server keystore file (.jks file). Default value is 'null'. If keystore file is specified then SSL secure connection will be established.

Parameters:
keystoreFile - the server keystore file

getServerKeystorePassword

public String getServerKeystorePassword()
Returns the password for the server keystore file

Returns:
the server keystore password

setServerKeystorePassword

public void setServerKeystorePassword(String serverKeystorePassword)
Sets the password for the server keystore file. Default value is 'null'. Should be specified together with the server keystore file parameter

Parameters:
serverKeystorePassword - the server keystore password

getClientKeystorePassword

public String getClientKeystorePassword()
Returns the password for the client keystore file

Returns:
the client keystore password

setClientKeystorePassword

public void setClientKeystorePassword(String clientKeystorePassword)
Sets the password for the client keystore file. Default value is 'null'. Should be specified together with the client keystore file parameter

Parameters:
clientKeystorePassword - the client keystore password

getClientKeyPassword

public String getClientKeyPassword()
Returns the password for the client public/private key pair

Returns:
the client key password

setClientKeyPassword

public void setClientKeyPassword(String clientKeyPassword)
Sets the password for the client public/private key pair. Default value is 'null'. Should be specified together with the client keystore file parameter

Parameters:
clientKeyPassword - the client key password

getKeystorePassword

public String getKeystorePassword()
Deprecated. replaced with getServerKeystorePassword()

Returns the password for the server keystore file

Returns:
the server keystore password

setKeystorePassword

public void setKeystorePassword(String keystorePassword)
Deprecated. replaced with setServerKeystorePassword(String)

Sets the password for the server keystore file. Default value is 'null'. Should be specified together with the server keystore file parameter

Parameters:
keystorePassword - the server keystore password


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.