The following provides instructions for configuring the following files for the RiskVision Tomcat Application Server:
- applicationContext-kerberos.xml
- agiliance.default.application.properties
applicationContext-kerberos.xml
To configure the applicationContext-kerberos.xml file:
- Go to %AGILIANCE_HOME%\Tomcat\webapps\spc\WEB-INF directory and open the applicationContext-kerberos.xml file using a text editor.
- Uncomment all lines in-between start Kerberos configuration and end Kerberos configuration.
- By default, Kerberos debugging is enabled. To disable debugging, set the following property to false:
<bean
class="org.springframework.security.extensions.kerberos.GlobalSunJaasKerberosConfig">
<property name="debug" value="false" />
</bean>
agiliance.default. application.properties
To configure the agiliance.default.application.properties file:
- Go to %AGILIANCE_HOME%\Tomcat\webapps\spc\WEB-INF\classes directory and open the agilaince.default.application.properties file using a text editor.
- Specify the Service Principal Name that was configured on the Active Directory for the RiskVision hostname. Only one SPN is allowed per domain and only one SPN is required for a hostname.
serviceprincipal=<SPN>@<Domain.Name>
Specify the location of .keytab file in RiskVision Server, which was generated in the active directory.
keytab.file=file:<keytab_Location>
Any changes to SPN or .keytab file requires restarting the RiskVision Tomcat service.
- Specify the RiskVision Web Server hostname, provided during the .generation of .keytab file in the following property:
kerberos.host=<RiskVisionWebServer_Hostname>
Note: Make sure that
RiskVisionWebServer_Hostname
is in lowercaseUsing the property above helps LDAP users to access the RiskVision application using Kerberos SSO.
- Set the following property to true. Add the property if it does not exist.
authentication.allow.kerberos=true
- Specify the hostname of RiskVision Web Server, to allow vendors and internal users to access RiskVision application using credentials.
virtual.host=<RiskVisionWebServer_Hostname1>
Use the following property to specify the number of attempts a user can make while logging into RiskVision. A user is disabled after all the attempts are exhausted.
password.disableAfterNFailedLogin=<value>
By default, the value is '0', which signifies that the policy is not enforced.Restart the RiskVision Tomcat to show the latest changes.
RiskVision strongly recommends copying the properties above to the %AGILIANCE_HOME%\-
file to ensure that Kerberos configuration is intact even after upgrading the RiskVisionServer.
config\agiliance.properties