SSO with other applications

Enterprise Application Access (EAA) uses single sign-on (SSO) authentication. SSO allows users to authenticate into the Enterprise Application Access service once to gain access to all of their applications, without having to log in again to each application individually. When you add an application to Enterprise Application Access, SSO is enabled by default.

Enterprise Application Access (EAA) Cloud supports single sign-on (SSO) to Atlassian applications, like Confluence, and JIRA, with use of the custom headers insertion, which lets access the Atlassian application through the Enterprise Application Access Cloud service without the need to authenticate again for any specific application.

Additional security such as two factor authentication (2FA) and multi-factor authentication (MFA) can be layered on top of the SSO authentication.

πŸ“˜

If SSO does not seem to be working properly, check the SSO configuration in the native application.

Use single sign-on (SSO) authentication for Atlassian Confluence

Prerequisite:
The Confluence application running and integrated into your Active Directory (AD) or OpenLDAP server.

You can use your Active Directory (AD) or OpenLDAP server to authenticate all the users and have immediate access to applications secured through Enterprise Application Access Cloud. This integration sends the X-forwarded-for custom headers to an application for SSO.

  1. Download the latest version of the HTTP Authenticator for Confluence.

  2. Copy the downloaded remoteUserAuth-2.5.0.jar file to the following location in your Confluence installation:

    • For Linux OS:/usr/local/confluence/confluence/WEB-INF/lib

    • For Windows OS: Users/C:/Program Files/confluence/confluence/WEB-INF/lib

    The version number in this example is 2.5.0. You may have a different, later version number when you download the file.

  3. Download the remoteUserAuthenticator.properties text file from github confluence_http_authenticator.

  4. Move the remoteUserAuthenticator.properties file to your Confluence installation:

    • For Linux OS:/usr/local/confluence/confluence/WEB-INF/classes

    • For Windows OS: Users/C:/Program Files/confluence/confluence/WEB-INF/classes

  5. Edit the remoteUserAuthenticator.properties file (with administrative rights) and change the following lines to send remote headers for SSO:

    1. Change header.remote_user=REMOTE_USER to header.remote_user=user_name.

    2. Comment out the line #header.email=CONF_EMAIL.

    3. Comment out the line #header.fullname=CONF_FULLNAME.

  6. Save the file.

    #semicolon-delimited list.
    #
    # Note: if fullname mapping is used (see below) then it will try
    using that first to get the full name using this header.
    
    #
    # Each supports a strategy to get this value. All default to 0.
    Strategy codes mean the following:
    # 0 - Try request.getAttribute then request.getHeader
    # 1 - Use request.getAttribute
    # 2 - Use request.getHeader
    header.remote_user=user_name
    #header.remote_user.strategy=0
    #header.email=CONF_EMAIL
    #header.email.strategy=0
    #header.fullname=CONF_FULLNAME
    #header.fullname.strategy=0
    #
    
  7. Edit the seraph-config.xml file at this location in your Confluence installation: /usr/local/confluence/confluence/WEB-INF/classes/seraph-config.xml and replace the following line <authenticator class="com.atlassian.confluence.user.ConfluenceAuthenticator"/> with: <authenticator class="shibauth.confluence.authentication.shibboleth.RemoteUserAuthenticator"/>.

  8. Save the file and restart the EAA Confluence application.

  9. To configure the Enterprise Application Access (EAA) application log into the EAA Management Portal.

  10. In the EAA Management Portal navigation menu select Applications.

  11. On the Confluence application card click Settings, and select ADVANCED SETTINGS.

  12. In ADVANCED SETTINGS > Custom HTTP headers configure the following:

    1. In Header Name enter user-name.
    2. In Attribute select user.
  13. Click Save and go to Deployment.

  14. Deploy application.

Use single sign-on (SSO) authentication for Atlassian JIRA

Prerequisite:
Confluence application running and integrated into your Active Directory (AD) or OpenLDAP server.

You can use your AD or OpenLDAP server to authenticate all the users and have immediate access to applications secured through EAA Cloud. This integration sends the X-forwarded-for custom headers to an application for SSO.

  1. Download the latest version of the Atlassian JIRA SSO connector.

  2. Copy the downloaded jar file to this location in your JIRA installation:

    • For Linux OS:*/jira/WEB-INF/lib

    • For Windows OS: *jira/WEB-INF/lib

  3. Download the jiraRemoteUserAuthenticator.properties text file from https://github.com/UW-Madison-DoIT/jiraRemoteUserAuth/tree/master/conf.

  4. Rename the file to RemoteUserAuthenticator.properties by removing jira from the file name, and save it to this location in your JIRA installation:

    • For Linux OS: */jira/WEB-INF/classes

    • For Windows OS: *jira/WEB-INF/classes

  5. Edit the remoteUserAuthenticator.properties file (use administrative rights) and change these lines to send remote headers for SSO:

    1. Change header.remote_user=REMOTE_USER to header.remote_user=user_name.

    2. Comment out the line #header.email=CONF_EMAIL.

    3. Comment out the line #header.fullname=CONF_FULLNAME.

  6. Save the file.

  7. Edit the seraph-config.xml file at this location in your Confluence installation /WEB-INF/classes/seraph-config.xml. Find and replace or comment out <authenticator class="com.atlassian.seraph.auth.DefaultAuthenticator"/> with: <authenticator class="shibauth.jira.authentication.shibboleth.RemoteUserAuthenticator"/>.

  8. Save the file and restart the JIRA application.

  9. To configure the Enterprise Application Access (EAA) application log into the EAA Management Portal.

  10. In the EAA Management Portal navigation menu select Applications.

  11. On the JIRA application card click Settings, and select ADVANCED SETTINGS.

  12. In ADVANCED SETTINGS > Custom HTTP headers configure the following:

    1. In Header Name enter user-name.
    2. In Attribute select user.
  13. Click Save and go to Deployment.

  14. Deploy application.


Did this page help you?