Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

This section lists the prerequisites and steps for applying and verifying this patch.

Table of Contents
maxLevel32

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. 

...

  • Read and Write permissions on all sub-folders and files of .../AdeptiaConnect-<Version>
  • Take backup of 

    securityContext

    apps.

    xml

    properties file from 

    ConnectPortal

    …<ConnectPortalInstallFolder>\resources_config

    \saml

     location.

     This

     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 connect_export.xml file from AdeptiaServer\ServerKernel\MigrationUtility locationweb.xml file from …<ConnectPortal>\conf location. This backup file will help you replicate the manual changes that you may have done done in this file  in in the past before applying this patch.

    Tip
    In case you are upgrading from AC v3.6.11, you need not take the backup of the connect_exportthe apps.properties and web.xml files.


  • Take backup of securityContext.xml file from …<ConnectPortalInstallFolder>\ConnectPortal\resources_config\saml location. This backup file .Prerequisites when upgrading from AC v3.7will help you replicate the manual changes that you may have done in this file in the past before applying this patch.
  • Take backup of launcher.properties file from …<ConnectPortalInstallFolder>\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.
  • 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

...

Expand
titleWhen upgrading from AC v3.7
When upgrading

Upgrading from AC v3.7

Changes in launcher.properties

  1. Go to 

<ConnectServerInstallFolder>
  1. …<ConnectPortalInstallFolder>\

AdeptiaServer\ServerKernel\etc\saml
  1. ConnectPortal\conf location.

  • Open securityContext.xml file.

  • Update the xsi:schemaLocation attribute as shown in the following code snippet
    1. Copy the launcher.properties file from patch location, and paste it at …<ConnectPortalInstallFolder>\ConnectPortal\conf location.
    2. Open the copied file and make the same manual changes in the file that you have done in your previous launcher.properties file (that you had saved as a backup).
    3. Save the file.


    Expand
    titleWhen upgrading from AC v3.6.11
    When upgrading

    Upgrading from AC v3.6.11

    Changes in securityContext.xml

    1. Go to <ConnectServerInstallFolder>ConnectPortalInstallFolder>\AdeptiaServer\ServerKernel\etcConnectPortal\resources_config\saml location.

    2. Open securityContext.xml file.

    3. Update the xsi:schemaLocation attribute as shown in the following code snippet. 

      Code Block
      languagecss
      themeMidnight
      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.7.xsd
      http://www.springframework.org/schema/context classpath:org/springframework/context/config/spring-context.xsd">


    4. Save the file.

    Changes in launcher.properties

    1. Go to …<ConnectPortalInstallFolder>\ConnectPortal\conf location.

    2. Copy the launcher.properties file from patch location, and paste it at …<ConnectPortalInstallFolder>\ConnectPortal\conf location.
    3. Open the copied file and make the same manual changes in the file that you have done in your previous launcher.properties file (that you had saved as a backup).
    4. Save the file.


    ...

    Expand
    titleWhen upgrading from AC v3.5.24
    When upgrading

    Upgrading from AC v3.5.24

    Changes

    in connect_export.xml
  • Navigate to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/MigrationUtility folder.
  • Open connect_export.xml in a text editor.
  • Add

    in apps.properties file

    1. Go to …<ConnectPortalInstallFolder>\resources_config location.

    2. Open apps.properties file.
    3. Below the Facebook section in the file, add the following code block for Microsoft Azure.

      Code Block
      languagecss
      themeMidnight
      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


    4. Save the file.
    5. Restart the Connect Portal.

    Changes in Web.xml file

    1. Go to the location …<ConnectPortal>\conf.
    2. Open the web.xml file in a text editor.
    3. In the filter section, add the following code snippet just after the tag </ExportType>the </init-param> tag that follows <param-value>SAMEORIGIN</param-value>

      Code Block
      languagecss
      themeMidnight
      <!--Possible value of comparison operator (">",">=","<","<=")-->
      <!--<ModifiedDate
      comment="Specify the date(YYYY-MM-DD hh:mm:ss) along with comparison operator"><![CDATA[> 2021-05-24 16:39:10]]></ModifiedDate>--><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>


    4. Save the file.

    Changes in securityContext.xml

    1. Go to <ConnectServerInstallFolder>…<ConnectPortalInstallFolder>\AdeptiaServerConnectPortal\ServerKernelresources_config\etc\saml location.

    2. Open securityContext.xml file.

    3. Update the xsi:schemaLocation attribute as shown in the following code snippet. 

      Code Block
      languagecss
      themeMidnight
      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.7.xsd
      http://www.springframework.org/schema/context classpath:org/springframework/context/config/spring-context.xsd">


    4. Save the file.

    ...

    To verify whether the patch is applied successfully:

    ...

    Go to <ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc\CVS location.

    ...

    Open the Tag file.

    Changes in launcher.properties

    1. Go to …<ConnectPortalInstallFolder>\ConnectPortal\conf location.

    2. Copy the launcher.properties file from patch location, and paste it at …<ConnectPortalInstallFolder>\ConnectPortal\conf location.
    3. Open the copied file and make the same manual changes in the file that you have done in your previous launcher.properties file (that you had saved as a backup).
    4. Save the file.

    Anchor
    Verifying Connect Portal patch
    Verifying Connect Portal patch
    Verifying Connect Portal patch

    ...