Task 4: Configuring Auth Service Application Properties

Before running the Authorization service, configure the application properties from the following table in the $OM_HOME/roles/authorization-service/standalone/config/application.properties file. To update the properties, you can refer to the sample file present under the $OM_HOME/samples/authorization-services directory for Oracle and PostgreSQL as per your requirement. The default values are set for PostgreSQL.

CategoryElement Default Value  
General server.port 9091  
amPluggableCacheRelational 
default.tenant.idTIBCO 
auth.superuser.appIdAuth 
auth.superuser.appKey

ENC(P2yXphz4OVM=)

Note: It is a good practice to change this default value and set your own key in an encrypted value. Refer "Encrypt Password Utility" section in the TIBCO® Order Management Administration guide.
 
allowedUserRolesROLE_ADMIN, ROLE_USER 
Relational Database Connection PropertiesdatasourceDriverClassNameorg.postgresql.Driver  
adminDsUrl=jdbc:postgresql://localhost:5432/admindbll?currentSchemaadminschemall  
adminDsUsernameadminuserll  
adminDsPasswordENC(O4UrXXgTEmyecFyHLo+Ivw==)  
hibernateDialectorg.hibernate.dialect.PostgreSQLDialect  
hibernateDsDefaultsFalse 

adminHibernateShowSql

False 
adminDsInitialSize=10  

adminDsMaxWait

30000  

adminDsMaxActive

100  
adminDsMaxIdle100 

adminDsMinIdle

10  

datasourceValidationQuery

SELECT 1 
adminDsTestOnBorrowTrue  
adminDsValidationInterval5000 
Directory Service ConfigurationsdirectoryServiceDomainNametestad.com  
directoryServiceRootDistinguishedNameDC=testad,DC=com  
ldapURLForDirectoryServiceldap://localhost:389 
Actuator Endpoints Propertiesmanagement.endpoints.web.exposure.includeHealth, ready, loggers 
Authentication Token Generation Configurationauthentication.token.signing.keyENC(nSa0k6lmjPPN8ZA5SO6BpQ==)  
authorization.access.token.validity43200  
authorization.refresh.token.validity2592000  
authorized.client.idOrder-management-client  
authorized.client.secretENC(ggsmFvh5HBbeSD1j+l5Y0rP4qv0rJvEm)