Package com.ibm.di.api.remote.impl.rmi
Class Constants
- java.lang.Object
-
- com.ibm.di.api.remote.impl.rmi.Constants
-
public class Constants extends java.lang.Object
A convenience class containing property names used for the RMI.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_API_CLIENT_KEY_PASS
The password of the private key stored in keystore file specified by api.client.keystore; if this property is missing, the password specified byapi.client.keystore.pass
is used instead.static java.lang.String
PROP_API_CLIENT_KEYSTORE
Specifies the keystore file containing the client certificate.static java.lang.String
PROP_API_CLIENT_KEYSTORE_PASS
Specifies the password of the keystore file specified byapi.client.keystore
.static java.lang.String
PROP_API_CLIENT_KEYSTORE_TYPE
The type of the keystore file specified byPROP_API_CLIENT_KEYSTORE
.static java.lang.String
PROP_API_CLIENT_TRUSTSTORE
Specifies the truststore file for a Server API client.static java.lang.String
PROP_API_CLIENT_TRUSTSTORE_PASS
Specifies the password of the truststore file specified byPROP_API_CLIENT_TRUSTSTORE
.static java.lang.String
PROP_API_CLIENT_TRUSTSTORE_TYPE
The type of the truststore file specified byPROP_API_CLIENT_TRUSTSTORE
.static java.lang.String
PROP_API_REMOTE_SSL_CLIENT_AUTH_ON
When is set tofalse
, SSL-based authentication cannot be used.static java.lang.String
PROP_API_REMOTE_SSL_CUSTOM_PROPERTIES
When is set totrue
, then SSL is configured through the following TDI Server API-specific Java System properties:api.client.keystore api.client.keystore.pass api.client.key.pass api.truststore api.truststore.pass
static java.lang.String
PROP_API_REMOTE_SSL_ON
If set to true SSL with client and server authentication will be used on RMI connections of the Server API and its JMX layer; the Server API will use the Server certificate and private key (the one specified through thecom.ibm.di.server.keystore
andcom.ibm.di.server.key.alias
properties) for SSL connections.static java.lang.String
PROP_API_TRUSTSTORE
Specifies the keystore file containing the TDI Server public certificate.static java.lang.String
PROP_API_TRUSTSTORE_PASS
Specifies the password for the keystore file specified by api.truststore.static java.lang.String
PROP_API_TRUSTSTORE_TYPE
The type of the keystore file specified byPROP_API_TRUSTSTORE
.static java.lang.String
PROP_GET_PKCS11_STATUS
Status of the PKCS #11.static java.lang.String
PROP_PKCS11_CFG_PATH
The configuration file for creating"IBMPKCS11Impl"
provider using the PKCS #11 library name and slot number.static java.lang.String
PROP_PKCS11_LIBRARY
PKCS #11 library name.static java.lang.String
PROP_PKCS11_PASS
PKCS #11 passowrd.static java.lang.String
PROP_PKCS11_SLOT
PKCS #11 slot number.static java.lang.String
PROP_SERVER_KEY_ALIAS
Property that holds the alias of the used key.static java.lang.String
PROP_SERVER_KEY_PASSWORD
Property that holds the password for the used key.static java.lang.String
PROP_SERVER_KEYSTORE
Specifies the keystore file containing the server certificate.static java.lang.String
PROP_SERVER_KEYSTORE_PASSWORD
Property that holds the password for the key store file.static java.lang.String
PROP_SERVER_KEYSTORE_TYPE
The type of the keystore file specified byPROP_SERVER_KEYSTORE
.
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
PROP_SERVER_KEYSTORE
public static final java.lang.String PROP_SERVER_KEYSTORE
Specifies the keystore file containing the server certificate.- See Also:
- Constant Field Values
-
PROP_SERVER_KEYSTORE_PASSWORD
public static final java.lang.String PROP_SERVER_KEYSTORE_PASSWORD
Property that holds the password for the key store file.- See Also:
- Constant Field Values
-
PROP_SERVER_KEY_ALIAS
public static final java.lang.String PROP_SERVER_KEY_ALIAS
Property that holds the alias of the used key.- See Also:
- Constant Field Values
-
PROP_SERVER_KEY_PASSWORD
public static final java.lang.String PROP_SERVER_KEY_PASSWORD
Property that holds the password for the used key.- See Also:
- Constant Field Values
-
PROP_SERVER_KEYSTORE_TYPE
public static final java.lang.String PROP_SERVER_KEYSTORE_TYPE
The type of the keystore file specified byPROP_SERVER_KEYSTORE
. If missing or empty will use the default keystore file for the JVM (usually "jks").- See Also:
- Constant Field Values
-
PROP_API_CLIENT_KEYSTORE
public static final java.lang.String PROP_API_CLIENT_KEYSTORE
Specifies the keystore file containing the client certificate.- See Also:
- Constant Field Values
-
PROP_API_CLIENT_KEYSTORE_PASS
public static final java.lang.String PROP_API_CLIENT_KEYSTORE_PASS
Specifies the password of the keystore file specified byapi.client.keystore
.- See Also:
- Constant Field Values
-
PROP_API_CLIENT_KEYSTORE_TYPE
public static final java.lang.String PROP_API_CLIENT_KEYSTORE_TYPE
The type of the keystore file specified byPROP_API_CLIENT_KEYSTORE
. If missing or empty will use the default keystore file for the JVM (usually "jks").- See Also:
- Constant Field Values
-
PROP_API_CLIENT_KEY_PASS
public static final java.lang.String PROP_API_CLIENT_KEY_PASS
The password of the private key stored in keystore file specified by api.client.keystore; if this property is missing, the password specified byapi.client.keystore.pass
is used instead.- See Also:
- Constant Field Values
-
PROP_API_CLIENT_TRUSTSTORE
public static final java.lang.String PROP_API_CLIENT_TRUSTSTORE
Specifies the truststore file for a Server API client.- See Also:
- Constant Field Values
-
PROP_API_CLIENT_TRUSTSTORE_PASS
public static final java.lang.String PROP_API_CLIENT_TRUSTSTORE_PASS
Specifies the password of the truststore file specified byPROP_API_CLIENT_TRUSTSTORE
.- See Also:
- Constant Field Values
-
PROP_API_CLIENT_TRUSTSTORE_TYPE
public static final java.lang.String PROP_API_CLIENT_TRUSTSTORE_TYPE
The type of the truststore file specified byPROP_API_CLIENT_TRUSTSTORE
. If missing or empty will use the default keystore file for the JVM (usually "jks").- See Also:
- Constant Field Values
-
PROP_API_TRUSTSTORE
public static final java.lang.String PROP_API_TRUSTSTORE
Specifies the keystore file containing the TDI Server public certificate.- See Also:
- Constant Field Values
-
PROP_API_TRUSTSTORE_PASS
public static final java.lang.String PROP_API_TRUSTSTORE_PASS
Specifies the password for the keystore file specified by api.truststore.- See Also:
- Constant Field Values
-
PROP_API_TRUSTSTORE_TYPE
public static final java.lang.String PROP_API_TRUSTSTORE_TYPE
The type of the keystore file specified byPROP_API_TRUSTSTORE
. If missing or empty will use the default keystore file for the JVM (usually "jks").- See Also:
- Constant Field Values
-
PROP_API_REMOTE_SSL_CUSTOM_PROPERTIES
public static final java.lang.String PROP_API_REMOTE_SSL_CUSTOM_PROPERTIES
When is set totrue
, then SSL is configured through the following TDI Server API-specific Java System properties:- api.client.keystore
- api.client.keystore.pass
- api.client.key.pass
- api.truststore
- api.truststore.pass
When is missing or when it is set tofalse
, then for configuring the SSL channel are used the standard JSSE system properties like :- javax.net.ssl.keyStore
- javax.net.ssl.keyStorePassword
- javax.net.ssl.trustStore
- javax.net.ssl.trustStorePassword
- See Also:
- Constant Field Values
-
PROP_API_REMOTE_SSL_ON
public static final java.lang.String PROP_API_REMOTE_SSL_ON
If set to true SSL with client and server authentication will be used on RMI connections of the Server API and its JMX layer; the Server API will use the Server certificate and private key (the one specified through thecom.ibm.di.server.keystore
andcom.ibm.di.server.key.alias
properties) for SSL connections. RMI clients need to trust that certificate.
If set to false no SSL is used for client connections and no authentication and authorization is performed; connections are accepted from the local host and from hosts listed in theapi.remote.nonssl.hosts
property; if api.remote.nonssl.hosts is empty only connections from the local host are accepted.- See Also:
- Constant Field Values
-
PROP_API_REMOTE_SSL_CLIENT_AUTH_ON
public static final java.lang.String PROP_API_REMOTE_SSL_CLIENT_AUTH_ON
When is set tofalse
, SSL-based authentication cannot be used. When the property is not specified a value offalse
is assumed.- See Also:
- Constant Field Values
-
PROP_GET_PKCS11_STATUS
public static final java.lang.String PROP_GET_PKCS11_STATUS
Status of the PKCS #11.If
true "IBMPKCS11Impl"
provider will be used; otherwisejava.security.Provider
will be used.- See Also:
- Constant Field Values
-
PROP_PKCS11_PASS
public static final java.lang.String PROP_PKCS11_PASS
PKCS #11 passowrd.- See Also:
- Constant Field Values
-
PROP_PKCS11_LIBRARY
public static final java.lang.String PROP_PKCS11_LIBRARY
PKCS #11 library name.- See Also:
- Constant Field Values
-
PROP_PKCS11_SLOT
public static final java.lang.String PROP_PKCS11_SLOT
PKCS #11 slot number.- See Also:
- Constant Field Values
-
PROP_PKCS11_CFG_PATH
public static final java.lang.String PROP_PKCS11_CFG_PATH
The configuration file for creating"IBMPKCS11Impl"
provider using the PKCS #11 library name and slot number.- See Also:
- Constant Field Values
-
-