Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Changes in securityContext.xml file

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

  2. Take backup of securityContext.xml file from the above-mentioned location. (remove the prerequisites step for backup)

  3. Go to the downloaded Adeptia Connect zip folder and rename the securityContext.xml_Portal file to securityContext.xml.
  4. Copy the renamed Open securityContext.xml file.
  5. Replace the existing file with the copied file at the following location: …<ConnectPortalInstallFolder>\resources_config\saml.
  6. Go to Security for the administration UI section and make the following change:

    1. Add the below property under the security headers tag:
      <security:hsts max-age-seconds="31536000"/>



  7. Go to Secured pages with SAML as entry point section and make the following change:
    1. Add the below property under the security headers tag:
      <security:hsts max-age-seconds="31536000"/>

  8. Save the file.
  9. Restart the Connect Portal.

Changes in apps.properties file

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

  2. Open apps.properties file.
  3. In case you are using

    SAML authentication, open the updated securityContext.xml file and

    QuickBooks and Xero application in Adeptia Connect, do the following

    changes

    :

  4. Uncomment the following property:

    <!-- <property name="entityBaseURL" value="http://localhost:8080/adeptia"/> -->
  5. Update the URL as required. Where localhost is the IP address and port of the Connect Portal.
  6. Uncomment the idp.xml property:
    Image Removed
    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:

    schemeName of the scheme (http or https).serverNameName of the server.serverPortPort number of the server.includeServerPortInRequestURLTo include server port number in the URL or not. It must be false.contextPathPrefix 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>

    If there were any other changes in the old file, you have to do the same changes manually in the replaced securityContext.xml file.

    TipFor older changes, refer to the old securityContext.xmlfile that you had saved as a backup.
  7. Save the file.
  8. Restart the Connect Portal.

Changes in apps.properties file

  1. Go to …<ConnectPortalInstallFolder>\resources_config location.
  2. Take backup of apps.properties file from the above-mentioned location. (remove the prerequisites step for backup)

  3. Go to the downloaded Adeptia Connect zip folder and copy the apps.properties file.
  4. Replace the existing file with the copied file at the following location: …<ConnectPortalInstallFolder>\resources_config.
  5. Open apps.properties file.
  6. Explain the new changes.
  7. If there were any other changes in the old file, you have to do the same changes manually in the updated apps.properties file.

    TipFor older changes, refer to the old apps.properties file that you had saved as a backup.
    1. Search for QuickBooks and replace the existing code block with the one given below:

      Code Block
      titleQuickBooks
      quickbooks.appKey=
      quickbooks.appKeySecret=
      quickbooks.oauthVersion=2.0
      quickbooks.oauth20.accessToken=https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer
      quickbooks.oauth20.authorize=https://appcenter.intuit.com/connect/oauth2
      quickbooks.oauth10.requestToken=https://oauth.intuit.com/oauth/v1/get_request_token
      quickbooks.oauth10.authorize=https://appcenter.intuit.com/Connect/Begin
      quickbooks.oauth10.accessToken=https://oauth.intuit.com/oauth/v1/get_access_token
      quickbooks.openId.provider=https://openid.intuit.com/OpenId/Provider
      quickbooks.openId.identity=http://specs.openid.net/auth/2.0/identifier_select
      quickbooks.scope=com.intuit.quickbooks.accounting
      quickbooks.enableProduction=true

       

    2. Search for Xero and replace the existing code block with the one given below:

      Code Block
      titleXero
      xero.appKey=
      xero.appKeySecret=
      xero.oauthVersion=2.0
      xero.oauth.signatureMethod=RSA-SHA1
      xero.oauth20.accessToken=https://identity.xero.com/connect/token
      xero.oauth20.authorize=https://login.xero.com/identity/connect/authorize
      xero.oauth10.requestToken=https://api.xero.com/oauth/RequestToken
      xero.oauth10.accessToken=https://api.xero.com/oauth/AccessToken
      xero.oauth10.authorize=https://api.xero.com/oauth/Authorize
      xero.refreshToken=https://api.xero.com/oauth/AccessToken
      xero.clientAuthentication=true
      xero.clientKeystore=xeroapps.p12
      xero.clientKeystoreType=PKCS12
      xero.clientKeystorePassword=
      xero.clientKeystorePrivateKeyPassword=
      xero.privateKey=
      xero.scope=offline_access accounting.transactions accounting.settings accounting.contacts payroll.employees
      xero.enableProduction=true


  8. Save the file.

Once the post installation steps are done, start the Connect Portal.

...