4 Enabling SSO Authentication

These topics provide guidelines for configuring single sign-on (SSO) authentication for Oracle Business Intelligence.

This chapter contains the following topics:

Note:

Oracle recommends using Oracle Access Manager as an enterprise-level SSO authentication provider with Oracle Fusion Middleware. You can assume that Oracle Access Manager is the SSO authentication provider.

SSO Configuration Tasks for Oracle Business Intelligence

The table contains SSO authentication configuration tasks and provides links for obtaining more information.

Task Description For More Information

Configure Oracle Access Manager as the SSO authentication provider.

Configure Oracle Access Manager to protect the Oracle Business Intelligence URL entry points.

Configuring SSO in an Oracle Access Manager Environment

Configuring Single Sign-On in Oracle Fusion Middleware in Securing Applications with Oracle Platform Security Services

Configure the HTTP proxy.

Configure the web proxy to forward requests from Presentation Services to the SSO provider.

Configuring Single Sign-On in Oracle Fusion Middleware in Securing Applications with Oracle Platform Security Services

Configure a new authenticator for Oracle WebLogic Server.

Configure the Oracle WebLogic Server domain in which Oracle Business Intelligence is installed to use the new identity store.

Configuring an OID Authenticator for Oracle WebLogic Server

Configuring Oracle Business Intelligence to Use Alternative Authentication Providers

Oracle WebLogic Server Administration Console Online Help

Configure a new identity asserter for Oracle WebLogic Server.

Configure the Oracle WebLogic Server domain in which Oracle Business Intelligence is installed to use the SSO provider as an asserter.

Configuring Oracle Access Manager as a New Identity Asserter for Oracle WebLogic Server

Configuring Oracle Business Intelligence to Use Alternative Authentication Providers

Oracle WebLogic Server Administration Console Online Help

Configure custom SSO solutions.

Configure alternative custom SSO solutions to protect the Oracle Business Intelligence URL entry points.

Configuring Custom SSO Environments

Enable Oracle Business Intelligence to accept SSO authentication.

Enable the SSO provider configured to work with Oracle Business Intelligence.

Enabling Oracle Business Intelligence to Use SSO Authentication

Note:

For an example of an Oracle Business Intelligence SSO installation scenario, see Enterprise Deployment Guide for Oracle Business Intelligence.

Understanding SSO Authentication and Oracle Business Intelligence

Integrating a single sign-on (SSO) solution enables a user to log on (sign-on) and be authenticated once. Thereafter, the authenticated user is given access to system components or resources according to the permissions and privileges granted to that user.

You can configure Oracle Business Intelligence to trust incoming HTTP requests authenticated by a SSO solution that is configured for use with Oracle Fusion Middleware and Oracle WebLogic Server. See Configuring Single Sign-On in Oracle Fusion Middleware in Securing Applications with Oracle Platform Security Services.

When Oracle Business Intelligence is configured to use SSO authentication, it accepts authenticated users from whatever SSO solution Oracle Fusion Middleware is configured to use. If SSO is not enabled, then Oracle Business Intelligence challenges each user for authentication credentials. When Oracle Business Intelligence is configured to use SSO, a user is first redirected to the SSO solution's login page for authentication. After the user is authenticated the SSO solution forwards the user name to Presentation Services where this name is extracted. Next a session with the BI Server is established using the impersonation feature, a connection string between the Oracle BI Presentation Server and the BI Server using credentials that act on behalf of a user being impersonated.

After successfully logging in using SSO, users are still required to have the oracle.bi.server.manageRepositories permission to log in to the Administration Tool using a valid user name and password combination. After installation, the oracle.bi.server.manageRepositories permission is granted by being a member of the default BIAdministration application role.

Configuring Oracle Business Intelligence to work with SSO authentication requires minimally that the following be done:

  • Oracle Fusion Middleware and Oracle WebLogic Server are configured to accept SSO authentication. Oracle Access Manager is recommended in production environments.
  • Oracle BI Presentation Services is configured to trust incoming messages.
  • The HTTP header information required for identity propagation with SSO configurations, the user identity and SSO cookie, is specified and configured.

How an Identity Asserter Works

This section describes how Oracle Access Manager authentication provider works with Oracle WebLogic Server using Identity Asserter for single sign-on, providing the following features:

  • Identity Asserter for Single Sign-on

    This feature uses the Oracle Access Manager authentication services and validates already-authenticated Oracle Access Manager users through a suitable token and creates a WebLogic-authenticated session. It also provides single sign-on between WebGate and portals. WebGate is a plug-in that intercepts web resource (HTTP) requests and forwards them to the Access Server for authentication and authorization.

  • Authenticator

    This feature uses Oracle Access Manager authentication services to authenticate users who access an application deployed in Oracle WebLogic Server. Users are authenticated based on their credentials, for example a user name and password.

After the authentication provider for Oracle Access Manager is configured as the Identity Asserter for single sign-on, the web resources are protected. Perimeter authentication is performed by WebGate on the web tier and by the appropriate token to assert the identity of users who attempt access to the protected WebLogic resources.

All access requests are routed to a reverse proxy web server. These requests are in turn intercepted by WebGate. The user is challenged for credentials based on the authentication scheme configured within Oracle Access Manager (form-based login recommended).

After successful authentication, WebGate generates a token and the web server forwards the request to Oracle WebLogic Server, which in turn invokes Oracle Access Manager Identity Asserter for single sign-on validation. Oracle Access Manager is able to pass various types of heading token, the simplest being an HTTP header called OAM_REMOTE_USER containing the user ID that has been authenticated by Oracle Access Manager. The WebLogic Security Service invokes Oracle Access Manager Identity Asserter for single sign-on, which next gets the token from the incoming request and populates the subject with the WLSUserImpl principal. The Identity Asserter for single sign-on adds the WLSGroupImpl principal corresponding to the groups the user is a member of. Oracle Access Manager then validates the cookie.

The diagram depicts the distribution of components and the flow of information when the Oracle Access Manager Authentication Provider is configured as an Identity Asserter for SSO with Oracle Fusion Middleware.

How Oracle Business Intelligence Operates with SSO Authentication

After SSO authorization has been implemented, Presentation Services operates as if the incoming web request is from a user authenticated by the SSO solution. Presentation Services next creates a connection to the BI Server using the impersonation feature and establishes the connection to the BI Server on behalf of the user. User personalization and access controls such as data-level security are maintained in this environment.

SSO Implementation Considerations

When implementing a SSO solution with Oracle Business Intelligence you should consider the following:

When accepting trusted information from the HTTP server or servlet container, you must secure the machines that communicate directly with Presentation Services. In the instanceconfig.xml file, specify the list of HTTP Server or servlet container IP addresses in the Listener\Firewall node. The Firewall node must include the IP addresses of all Oracle BI Scheduler instances, Oracle Presentation Services instances, and Oracle Business Intelligence JavaHost instances.

If any of these components are co-located with Oracle BI Presentation Services, you must add the 127.0.0.1 address in Firewall node. Setting the list of HTTP Server or servlet container IP addresses does not control end-user browser IP addresses. When using mutually-authenticated SSL, you must specify the Distinguished Names (DNs) of all trusted hosts in the Listener\TrustedPeers node.

Configuring SSO in an Oracle Access Manager Environment

Review the overview about how to configure SSO in an Oracle Access Manager environment, and these additional references.

After the Oracle Fusion Middleware environment is configured, you must do the following to configure Oracle Business Intelligence:

See Configuring Single Sign-On in Oracle Fusion Middleware in Securing Applications with Oracle Platform Security Services.

See Configuring BI Publisher to Use Oracle Access Manager (OAM) Single Sign-On in Administrator's Guide for Oracle Business Intelligence Publisher.

Configuring an OID Authenticator for Oracle WebLogic Server

After installing Oracle Business Intelligence, the Oracle WebLogic Server embedded LDAP server is the default authentication source (identity store).

To use a new identity store such as Oracle Internet Directory (OID) as the main authentication source, you must configure the Oracle WebLogic Server domain, where Oracle Business Intelligence is installed.

See Administering Security for Oracle WebLogic Server and Using Oracle WebLogic Server Administration Console.

See Setting the JAAS Control Flag Option.

For the field details to complete the Provider Specific tab, see Authentication Provider Specific Reference.

  1. Click the newly added authenticator in the authentication providers table.
  2. Navigate to Settings, then select the Configuration\Common tab:
    • Select SUFFICIENT from the Control Flag list.
    • Click Save.
  3. Display the Provider Specific tab and specify the following settings using appropriate values for your environment:
  4. Click Save.
  5. Perform the following steps to set up the default authenticator for use with the Identity Asserter:
    1. At the main Settings for myrealm page, display the Providers tab, then display the Authentication tab, then select DefaultAuthenticator to display its configuration page.
    2. Display the Configuration\Common tab, from the Control Flag list, select SUFFICIENT.
    3. Click Save.
  6. Perform the following steps to reorder providers:
    1. Display the Providers tab.
    2. Click Reorder to display the Reorder Authentication Providers page
    3. Select a provider name and use the arrow buttons to order the list of providers as follows:
      • OID Authenticator (SUFFICIENT)
      • OAM Identity Asserter (REQUIRED)
      • Default Authenticator (SUFFICIENT)
    4. Click OK to save your changes.
  7. In the Change Center, click Activate Changes.
  8. Restart Oracle WebLogic Server.
  1. Log in to Oracle WebLogic Server Administration Console.
  2. In the Change Center, click Lock & Edit.
  3. From Domain Structure, select Security Realms and click myrealm.
  4. In Settings for myrealm, click the Providers tab, and then click the Authentication tab.
  5. In Authentication Providers, click New.
  6. In Create a New Authentication Provider, type the Name for the authentication providers such as OID Provider.
  7. From the Type list, select OracleInternetDirectoryAuthenticator, and click OK.
  8. From the Authentication Providers table, select the provider you just created.
  9. Click the Common tab, from the Control Flag list, select Sufficient, and click Save.

Use Reordering Authentication Providers to make the OID authenticator the primary authentication used by Oracle WebLogic Server. Reorder the authenticators as follows:

  • OID Authenticator (SUFFICIENT)

  • OAM Identity Asserter (REQUIRED)

  • Default Authenticator (SUFFICIENT)

Authentication Provider Source Reference

This table provides a reference for adding an authentication provider.

Section Name Field Name Description

Connection

Host

The LDAP host name. For example, <localhost>.

Connection

Port

The LDAP host listening port number. For example, 6050.

Connection

Principal

The distinguished name (DN) of the user that connects to the LDAP server. For example, cn=orcladmin.

Connection

Credential

The password for the LDAP administrative user entered as the Principal.

Users

User Base DN

The base distinguished name (DN) of the LDAP server tree that contains users. For example, use the same value as in Oracle Access Manager.

Users

All Users Filter

The LDAP search filter. For example, (&(uid=*) (objectclass=person)). The asterisk (*) filters for all users. Click More Info... for details.

Users

User From Name Filter

The LDAP search filter. Click More Info... for details.

Users

User Name Attribute

The attribute that you want to use to authenticate, for example, cn, uid, or mail. Set as the default attribute for user name in the directory server. For example, uid.

The value that you specify here must match the User Name Attribute that you are using in the authentication provider, as described in the next task Configuring User Name Attributes.

Groups

Group Base DN

The base distinguished name (DN) of the LDAP server tree that contains groups (same as User Base DN).

General

GUID attribute

The attribute used to define object GUIDs in LDAP.

orclguid

You should not change this default value, in most cases the default value here is sufficient.

Configuring Oracle Access Manager as a New Identity Asserter for Oracle WebLogic Server

The Oracle WebLogic Server domain in which Oracle Business Intelligence is installed must be configured to use an Oracle Access Manager asserter.

See Enabling Oracle Business Intelligence to Use SSO Authentication.
  1. Log in to Oracle WebLogic Server Administration Console.

  2. In Oracle WebLogic Server Administration Console, select Security Realms from the left pane and click the realm you are configuring, for example, myrealm.

  3. Select Providers.

  4. Click New. Complete the fields as follows:
    • Name: OAM Provider, or a name of your choosing.
    • Type: OAMIdentityAsserter.
  5. Click OK.
  6. Click Save.
  7. In the Providers tab, perform the following steps to reorder Providers:
    1. Click Reorder
    2. In the Reorder Authentication Providers page, select a provider name, and reorder the list of providers as follows:
      • OID Authenticator (SUFFICIENT)
      • OAM Identity Asserter (REQUIRED)
      • Default Authenticator (SUFFICIENT)
    3. Click OK to save your changes.
  8. In the Change Center, click Activate Changes.
  9. Restart Oracle WebLogic Server.

    You can verify that Oracle Internet Directory is the new identity store (default authenticator) by logging back into Oracle WebLogic Server and verifying the users and groups stored in the LDAP server appear in the console.

  10. Enable SSO authentication.

    .

Configuring Custom SSO Environments

This section contains references to information about setting up custom SSO environments.

For information about configuring Oracle Business Intelligence to participate in custom SSO environments, for example, setting up SSO using SiteMinder, see article 1287479.1 on My Oracle Support at:

https://support.oracle.com

Configuring SSO With SmartView

Provides information about configuring SSO with SmartView.

When Oracle Business Intelligence is SSO enabled with Active Directory and Native Authentication, see article 1900485.1 on My Oracle Support at:

https://support.oracle.com

Enabling Oracle Business Intelligence to Use SSO Authentication

After you configure Oracle Business Intelligence to use the SSO solution, you must enable SSO authentication for Oracle Business Intelligence.

After you enable SSO, the default Oracle Business Intelligence login page is not available.

Enabling and Disabling SSO Authentication Using WLST Commands

Use WLST commands to enable or disable SSO authentication for Oracle Business Intelligence.

In Oracle Business Intelligence 12.2.1.3.0, lightweight SSO is enabled by default. If you are using legacy authentication methods such as session variables in initialization blocks, you need to disable lightweight SSO using the disableBISingleSignOn command.

  • You must have file system and WebLogic Administrator permissions.
  • You must perform the enable or disable SSO authentication as an offline activity.
  • Validation is limited to URL format. Connectivity and WebLogic configuration is not validated.
  • Changing the URL for log off requires that you disable, and then re-enable with new URL.
  • A logon URL is not required.

Pre-requisites:

See Using the WebLogic Scripting Tool (WLST) in System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.

See Starting Oracle Business Intelligence Component Processes in System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.

Use the table to learn the arguments appropriate for each command.

Command Arguments Return Description

enableBISingleSignOn

DOMAIN_HOME, <logoff-url>

None

Enable SSO and configure logoff URL.

disableBISingleSignOn

DOMAIN_HOME

None

Disable SSO.

  1. Stop the BI system.

    For example on UNIX, use ./stop.sh

  2. Enter a SSO management command from the table using the WLST command line.

    For example, on UNIX change directory to:

    <Install_Directory>/oracle_common/common/bin

  3. Start WLST using ./wlst.sh command.
  4. (Optional) Run the command help(‘BILifecycle’) to display help about enableBISingleSignOn and disableBISingleSignOn commands and their arguments.
  5. Run the enableBISingleSignOn or disableBISingleSignOn command using the arguments appropriate for each command.

    For example: enableBISingleSignOn('C:/.../user_projects/domains/bi','/bi-security-login/logout?redirect=/va') or disableBISingleSignOn('C:/oracle/Middleware/Oracle_Home/user_projects/domains/bi')

    The SSO configuration for Oracle Business Intelligence is updated.

  6. Restart the Oracle Business Intelligence component processes to consume the changes.

    For example on UNIX, use ./start.sh.

Enabling SSO Authentication Using Fusion Middleware Control

How you enable SSO authentication for Oracle Business Intelligence using the Security tab in Fusion Middleware Control.

See Using Oracle Fusion Middleware Control, and Starting and Stopping the Oracle Business Intelligence Components in System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.

  1. Log in to Fusion Middleware Control.
  2. Go to the Security page and display the Single Sign On tab.

    Click the Help for this page Help menu option to access the page-level help for its elements.

  3. Click Lock and Edit.
  4. Select Enable SSO.

    When selected, this checkbox enables SSO to be the method of authentication into Oracle Business Intelligence. The appropriate form of SSO is determined by the configuration settings made for the chosen SSO provider.

  5. If required, enter the logoff URL for the configured SSO provider.

    The logoff URL (specified by the SSO provider) must be outside the domain and port that the SSO provider protects, because the system does not log users out.

  6. Click Apply, then Activate Changes.
  7. Restart the Oracle Business Intelligence components using Fusion Middleware Control.

Enabling the Online Catalog Manager to Connect

How you enable online Catalog Manager to point to a new URL when analytics becomes protected when using SSO.

The online Catalog Manager might fail to connect to Oracle BI Presentation Services when the HTTP web server for Oracle Business Intelligence is enabled for SSO. When you enable SSO in Enabling SSO Authentication Using Fusion Middleware Control, the Oracle Business Intelligence URL http://hostname:port_number/analytics becomes protected, and you must point the online Catalog Manager to the URL http://hostname:port_number/analytics-ws instead. The URL should remain unprotected. It is configured only to accept SOAP access as used by Oracle BI Publisher, Oracle BI Add-in for Microsoft Office, and the online Catalog Manager.

To log in to the online Catalog Manager when SSO is enabled you must change the URL suffix to point to analytics-ws/saw.dll.