Uploaded image for project: 'BxMS Documentation'
  1. BxMS Documentation
  2. BXMSDOC-4075

Update Integration with RHSSO documentation

XMLWordPrintable

      There is a small change in the configuration of RHSSO integration after https://github.com/kiegroup/kie-wb-distributions/pull/895.

      These piece of code:

      <filter>
        <filter-name>HTTP Basic Auth Filter</filter-name>
        <filter-class&gt;org.uberfire.ext.security.server.BasicAuthSecurityFilter</filter-class&gt;
        <init-param>
          <param-name>realmName</param-name>
          <param-value>Business Central Realm</param-value>
        </init-param>
      </filter>
      
      <filter-mapping>
        <filter-name>HTTP Basic Auth Filter</filter-name>
        <url-pattern>/rest/*</url-pattern>
        <url-pattern>/maven2/*</url-pattern>
        <url-pattern>/ws/*</url-pattern>
      </filter-mapping>
      

      is no longer in the web.xml. So it cannot be replaced as is written in the documentation https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.3/html/integrating_red_hat_process_automation_manager_with_red_hat_single_sign-on/sso-central-proc_integrate-sso#sso-remote-services-proc

      So the documentation just need to mention that following lines need to be added to the web.xml:

      <security-constraint>
        <web-resource-collection>
          <web-resource-name>remote-services</web-resource-name>
          <url-pattern>/rest/*</url-pattern>
          <url-pattern>/maven2/*</url-pattern>
          <url-pattern>/ws/*</url-pattern>
        </web-resource-collection>
        <auth-constraint>
          <role-name>rest-all</role-name>
          <role-name>rest-project</role-name>
          <role-name>rest-deployment</role-name>
          <role-name>rest-process</role-name>
          <role-name>rest-process-read-only</role-name>
          <role-name>rest-task</role-name>
          <role-name>rest-task-read-only</role-name>
          <role-name>rest-query</role-name>
          <role-name>rest-client</role-name>
        </auth-constraint>
      </security-constraint>
      

              emmurphy1@redhat.com Emily Murphy
              tdavid@redhat.com Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: