Configure Properties Files in WAR Files for Identity - JBoss
Quantum Fabric Console setup consists of configuring properties files in the .war files such as accountsAPI.war, authService.war, mbaasportal.war
, and workspaceService.war
. For more details, refer to Quantum Fabric Topology and Components.
IMPORTANT: The field names in the properties files of the following .WAR
files are the same for all app servers. You must configure the values in the fields based on your app servers.
authService.war
To configure properties files in the authService.war file, follow these steps:
- In the
authService.war
, open the/WEB-INF/classes
authService.properties
file, and then edit the following parameters.#Database parameters
RDS_DB_TYPE=<Database Type>
RDS_HOSTNAME=<Dataserver IP/Hostname>
RDS_PORT=<Database port>
AUTH_GLOBAL_DBNAME=<Quantum identity service global database name>
AUTH_CONFIG_DBNAME=<Quantum identity service configuration database name>
MAX_ACTIVE_DBC=20
AUTH_GLOBAL_DB_MAX_ACTIVE_DBC=5
#General auth parameters
APPSERVER_TYPE=<Application server type>
LOG_LEVEL=INFO
LOG_OPTION=logfile
LOG_LOCATION=<USER_INSTALL_DIR>/logs
ADMIN_USERSTORE_PROVIDER=AUTH
#add the following property only for Oracle
TXN_ISOLATION_LEVEL=2 - In the
file, configure the following properties with proper values, shown below:authService.properties
- RDS_DB_TYPE=<Database Type>. For example, RDS_DB_TYPE=MySQL, MSSQL, ORACLE, or MariaDB
- APPSERVER_TYPE=<Application server type>. For example, APPSERVER_TYPE=
JBOSS
IMPORTANT: Enter the appropriate path for LOG_LOCATION=<USER_INSTALL_DIR>.
For example:
- For Windows:<C:/QuantumFabric>
- For Linux:</home/user/QuantumFabric>
- In the
WEB-INF/classes
, edit theauthservice.key
file, shown below:master_key=<Any Random GUID>
master_key_id=<Any Random GUID>