This section lists the prerequisites and steps for applying and verifying this patch.
...
Info |
---|
Though every release of Adeptia comes with seamless upgrades and bug-free patches, for customer's complex use cases, we recommend applying the patch in a non-production environment first followed by testing. After the use cases run successfully without any errors or warnings, you can apply the patch in the production environment. |
Anchor Prerequisites Prerequisites
Prerequisites
Prerequisites | |
Prerequisites |
- Read and Write permissions on all sub-folders and files of .../AdeptiaConnect-<Version>.
- Take backup of appssecurityContext.propertiesxml file from …<ConnectPortalInstallFolder>\resources_config location. This backup file will help you replicate the manual changes that you may have done in this file in the past before applying this patch.
- Take backup of web.xml file from …<ConnectPortal>\conf location. This backup file will help you replicate the manual changes that you may have done in this file in the past before applying this patch.
- Take backup of securityContext.xml file from ConnectPortal\resources_config\saml location. This backup file will help you replicate the manual changes that you may have done in this file in the past before applying this patch.
- Connect Server services are running.
- Connect Portal service is stopped.
- Ensure that you have followed the Prerequisites' instructions given on the Upgrade page.
Anchor Applying the patch Applying the patch
Applying the patch
Applying the patch | |
Applying the patch |
Expand | ||
---|---|---|
| ||
|
...
After applying this patch, refer to post patch deployment section for manual changes.
Anchor Post Patch Deployment Steps Post Patch Deployment Steps
Post patch deployment steps
Post Patch Deployment Steps | |
Post Patch Deployment Steps |
In this release, some manual changes are required in Connect Portal.
Changes in
...
securityContext.
...
xml
Go to …<ConnectPortalInstallFolder>\resources_config location.
- Open apps.properties file.
Below the Facebook section in the file, add the following code block for Microsoft Azure.
Code Block language css theme Midnight microsoftazure.appKey= microsoftazure.appKeySecret= microsoftazure.oauthVersion=2.0 microsoftazure.oauth20.refreshToken=https://login.microsoftonline.com/{domain}/oauth2/v2.0/token microsoftazure.oauth20.authorize=https://login.microsoftonline.com/{domain}/oauth2/v2.0/authorize microsoftazure.oauth20.accessToken=https://login.microsoftonline.com/{domain}/oauth2/v2.0/token microsoftazure.SecretId= microsoftazure.scope=openid offline_access https://storage.azure.com/user_impersonation microsoftazure.enableProduction=true
- Save the file.
- Restart the Connect Portal.
Changes in Web.xml file
- Go to the location …<ConnectPortal>\conf.
- Open the web.xml file in a text editor.
In the filter section, add the following code snippet just after the </init-param> tag that follows <param-value>SAMEORIGIN</param-value>.
Code Block language css theme Midnight <init-param> <param-name>hstsMaxAgeSeconds</param-name> <param-value>31536000</param-value> </init-param> <init-param> <param-name>hstsIncludeSubDomains</param-name> <param-value>true</param-value> </init-param>
- Save the file.
Changes in securityContext.xml
Go to ConnectPortal\resources_config\saml location.
Open securityContext.xml file.
Update the xsi:schemaLocation attribute as shown in the following code snippet.
Code Block language css theme Midnight xsi:schemaLocation="http://www.springframework.org/schema/beans classpath:org/springframework/beans/factory/xml/spring-beans.xsd http://www.springframework.org/schema/security classpath:org/springframework/security/config/spring-security-5.67.xsd http://www.springframework.org/schema/context classpath:org/springframework/context/config/spring-context.xsd">
- Save the file.
Anchor | ||||
---|---|---|---|---|
|
To verify if the Connect Portal has been deployed successfully, login to the portal and check the build tag of the Connect Portal.
...
- Click Configure > Developer Studio > Proceed.
If you are able to interact with the Connect Server interface, it indicates that the Connect Server is updated.
Tip |
---|
In case you need to recover the patch, refer to this page. |