This section lists the prerequisites and steps for applying and verifying this patch.
...
- Go to the downloaded Adeptia Connect zip folder and rename the securityContext.xml_Server file to securityContext.xml.
- Copy the renamed securityContext.xml file.
- Replace the existing file with the copied file at the following location: …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc\saml.
- Open securityContext.xml file.
- Do the same manual changes in the file in case you have done in your previous securityContext.xml file (that you had saved as a backup).
- Save the file.
- In case you are using SAML authentication
...
- , open the updated securityContext.xml file and do the following changes:
Uncomment the following property:
<!-- <property name="entityBaseURL" value="http://localhost:8080/adeptia"/> -->
- Update the URL as required. Where localhost is the IP address and port of the Connect Server.
- Uncomment the idp.xml property:
- If you are using Adeptia Connect with load balancer, follow these steps:
- Remove or comment out the existing contextProvider bean
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderImpl"/> - Add the below contextProvider bean
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderLB">
<property name="scheme" value="http"/>
<property name="serverName" value="www.myserver.com"/>
<property name="serverPort" value="8080"/>
<property name="includeServerPortInRequestURL" value="false"/>
<property name="contextPath" value="/adeptia"/>
</bean>
This table explains the each property of contextProvider bean:
scheme Name of the scheme (http or https). serverName Name of the server. serverPort Port number of the server. includeServerPortInRequestURL To include server port number in the URL or not. It must be false. contextPath Prefix of a URL path used to select the context(s) to which an incoming request is passed. A URL is in the format: http://hostname.com/contextPath/, where each of the path elements can be zero or more separated elements. It must be /adeptia. Property Name
Description
It will look like:
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderLB">
<property name="scheme" value="http"/>
<property name="serverName" value="www.myserver.com"/>
<property name="serverPort" value="8080"/>
<property name="includeServerPortInRequestURL" value="false"/>
<property name="contextPath" value="/adeptia"/>
</bean> - Remove or comment out the existing contextProvider bean
- If there were any other changes in the old file, you have to do the same changes manually in the updated securityContext.xml file.
- Save the file.
- Restart Connect Server.
Changes in web.xml file
...
- Stop the Connect Server.
- Download the following two certificates from this link.
- 1199354.crt
- 1720081.crt
On the command prompt, run the following command to import the two new certificates to the cacerts file:
keytool -import -file "<path_to_Certificate_file>" -keystore "<path_to_application_folder>\ServerKernel\etc\truststore\cacerts" - alias "<alias_name>" - storepass "<cacerts file password>"
Where,
path_to_Certificate_file: The location where you have downloaded the certificates.
path_to_application_folder: Location of the cacerts file in the Connect Server.
alias_name: Alias name for '1199354.crt' and '1720081.crt' are 'USERTrust RSA Certification Authority' and 'COMODO RSA Certification Authority' respectively.
cacerts file password: Password for the cacerts file. By default, the password for the cacerts file is 'changeit'.- Restart the Connect Server.
...
Anchor | ||||
---|---|---|---|---|
|
This section is applicable only if you are using Connect Server in Linux environment.
...
Run the following command to install the Fontconfig library:
yum install fontconfigInfo Command to install Fontconfig library may vary for different Linux editions. - Confirmation step
- Restart the Linux machine.
...