The credentials.properties file
To allow the deployment toolkit to
update the database, Lightweight Third-Party
Authentication (LTPA) keys, and Solr search
platform components, you must provide user names
and passwords. The user names and passwords that
you provide allow the system to set up and
administer components of i2 Analyze, and are
not used to access i2 Analyze.
Three types of credentials are stored
in credentials.properties:
After you specify the credentials, you
might need to change the values in the
credentials.properties file
from the values that are used in development or
test deployments. For example, your database
management system might require a different user
name and password in a test or production
system.- Database
- LTPA keys
- Solr search platformNote: Solr search platform credentials are only required for a deployment that uses the Information Store.
When you deploy i2 Analyze, the passwords in the credentials.properties file are encoded.
- Database
For each database that is identified in topology.xml, you must specify a user name and a password in the credentials.properties file. The
setup
script uses this information to authenticate with the database.Note: The user that you specify must have privileges to create and populate databases in the database management system.The database credentials are stored in the following format:
db.identifier.user-name=user name db.identifier.password=password
The name of each database credential has three parts, two of which are variable:For example:Part Description identifier
The database identifier, for example infostore
.user-name
orpassword
Indicates whether the value is a user name or a password. db.infostore.user-name=admin db.infostore.password=password
Note: Thedb.identifier.truststore.password
credential is used only when you configure the connection between the database and Liberty to use SSL. If you are not using SSL to secure this connection, you do not need to specify a value for thedb.identifier.truststore.password
credential. For more information about configuring SSL, see Configure Secure Sockets Layer with i2 Analyze.- LTPA keys
-
You must provide a value for the
ltpakeys.password
property. This value is used by the system to encrypt LTPA tokens.- For a stand-alone deployment of i2 Analyze, you can specify any value as the password.
- For a deployment of i2 Analyze that uses LTPA tokens to authenticate with other systems, you must specify the same password that those systems use.
- Solr search platform
-
The Solr search platform is used to search data in the Information Store. You must provide values for the
solr.user-name
andsolr.password
properties. Any Solr indexes are created when i2 Analyze is first deployed, and the values that you provide here become the Solr user name and password.If you have already deployed i2 Analyze, and you want to change the Solr password, new properties must be created in the following format:
For example:solr.user-name.new=value solr.password.new=value
As a part of the deployment process:#Solr credentials #The user name and password for solr to use once deployed solr.user-name=admin solr.password={enc}E3FGHjYUI2A\= solr.user-name.new=admin1 solr.password.new=password
- The new values replace the original values in the file
- The password value is encoded
- Once changed, the credentials.properties file is cleaned, removing the duplicate values
© Copyright IBM Corporation 2012, 2020.