Administering the Search Application Server with the ADF.properties File
The ADF.properties file contains configurable parameters of an ADF Search Application installation in a key-value format. Updating the file allows you to customize and control the ADF Search Application.
Find the ADF.properties file at
opt/ADF/WEB-INF/classes.The file contains the configuration options you specified during the installation or upgrade process together with other settings relevant to your ADF installation such as database and logging configuration. You can find an overview below.
Update the parameter values as required.
Restart the ADF Search Application server for the changes to take effect.
Here is an overview of the most important parameters controlling your ADF Search Application installation.
PoolPartypp.url– the URL of the PoolParty instance the ADF Search Application works on top of. The API calls to PoolParty are protected with OAuth 2.0.pp.user-group– the PoolParty user group that will permit access to the areas in the ADF Search Application that are protected with authentication. Only users that are members of this PoolParty group will be able to log in to the ADF Search Application configuration interface and access the configurations on the main user interface that require login.
Authentication (Keycloak)adf.requireUiAuthentication– Set totrueto enforce authentication for all configurations on the main user interface regardless whether they are public or private.spring.security.oauth2.client.registration.ppt.clientSecret– the client secret of the Keycloak clientpptKeycloak Oauth2 URLs– Update these parameters if Keycloak URL or realm name changes.
General configurationserver.servlet.context-path– the base path where the ADF Search Application will be accessible at. It must start with a slash.For instance if you specify
/searchas a base path, the main user interface will be accessible atservername/searchand the configuration interface atservername/search/configurations.Important
If you want to change the base path, you also need to update the
Context pathvalue in the TomcatServer.xmlfile.For instance if you want to change the base path to
search, thepathparameter in theServer.xmlfile will look like this: