Basic Authentication: External Server Configuration

For those connectors requiring an external server, you must perform a specific procedure to enable the basic authentication. This procedure is required for the following connectors:

See Also
ATLASSIAN Jira
Dassault Systèmes: NoMagic Teamwork Cloud
IBM Rational DOORS Next Generation
IBM Rational Team Concert (RTC)

Follow this procedure to configure the Apache front end:

  1. On the 3DEXPERIENCE server, open this file: /usr/local/reverseproxy/conf/httpd.conf
  2. Search for this key: Access-Control-Allow-Headers.
  3. Add these three headers:
    • syc-auth-resourceId
    • syc-auth-userName
    • syc-auth-password
    Note: These headers allow Cross Origin Request.
  4. Restart the proxy:/usr/local/reverseproxy/bin/apachectl restart

Example

SetEnvIf Origin "^https://(.+\.)?(3ds\.com|dsy\.ds|exalead\.com)(:\d{1,5})?$" origin_is=$0
Header setifempty Access-Control-Allow-Origin %{origin_is}e env=origin_is
Header setifempty Access-Control-Allow-Credentials "true"
Header setifempty Access-Control-Allow-Methods "GET, POST, OPTIONS, HEAD, PUT, DELETE, PATCH"
Header setifempty Access-Control-Allow-Headers "accept,x-requested-method,origin,x-requested-with,x-request,cache-control,content-type,syc-auth-resourceId,syc-auth-userName,syc-auth-password"
Header setifempty Access-Control-Max-Age "600"