Setting up Essbase SSO with JumpCloud (Example) and Essbase Impersonation

This document outlines the steps for configuring Dodeca and Essbase for SAML SSO using JumpCloud as an example identity provider.

Configuring the Application for SSO

Follow these steps within Dodeca for each application needing SSO:

  1. Go to Metadata → Applications and select the target application.

  2. Scroll to the Security section, find AuthenticationProviderObjectTypeID, and choose SamlAuthentication from the dropdown, then click the Export Service Provider Metadata button that appears to the left.

  3. Reach out to your security team (e.g., Azure/JumpCloud admins) and give them the exported Service Provider metadata for each application.

  4. The SSO security team should provide Identity Provider metadata files (one .xml per Dodeca application) in return.

  5. Click the "Import Identity Provider Metadata" button in the Applications Metadata Editor and locate the XML file for the Dodeca Application. Note that the button is sometimes hidden and can be revealed by making the pane bigger.

  6. Commit the changes in the Applications Metadata Editor.

  7. Click the "Test Authentication Provider" button. Make sure to have commited your SAML security work before testing, or you will get an error.

  8. Attempt to launch the DSMS application. You will know if the login dialog is out dated if OTP is the only option in the SSO prompt.

Debug mode can be enabled in the Application Metadata Editor to help troubleshoot issues.

The WebView 2 available here should be considered a prerequisite as it provides more informational error messages.

Moving an Application to the Principal Resolution Policy

By default, an application’s PrincipalResolutionPolicy is Asserted: the Dodeca user is the name the identity provider asserts on each sign-in (the SAML NameID, unless UsernameAttribute is set). Switching an application to Principal instead resolves the Dodeca user through a canonical principal record, pinned to the identity provider’s stable subject rather than the asserted name.

If you are moving an existing SAML application from Asserted to Principal, this changes the Dodeca user ID used everywhere downstream of login for that application - including the subject of the impersonation JWT described below. Under Asserted, that subject is the SAML NameID. Under Principal, it is the matching principal application assignment’s Dodeca user ID instead.

If your Essbase provisioning was set up to match users' NameIDs (the common case for an Asserted deployment), impersonation will break for anyone whose assignment does not carry that exact same value as its Dodeca user ID. Before switching an application already in production, either:

  • Leave each assignment’s Dodeca user ID blank so it defaults to the principal’s name, and make sure that name matches the value Essbase already expects, or

  • Set the assignment’s Dodeca user ID explicitly to the value Essbase already expects.

This is worth validating in a test tenant before flipping the policy on a production application that uses impersonation.

If the application’s user-access policy is RequireUserEntriesForStartup, an unresolved identity no longer has to be read out of failed-login log lines: the Pending Access page (Metadata → Tenants → <tenant> → Pending Access) lists every request awaiting a decision, with Admit and Deny actions. A denied request stays denied by default even if the same person retries - use Reopen on a DENIED row to reverse a mistaken or stale denial. Applications using the CreateUserEntriesOnStartup stance show recently self-provisioned logins in the same view (toggle "Show decided and auto-admitted history") as a post-hoc record, not a gate.

A few things this page does not yet do (tracked in issue #4650): one Admit action grants every Dodeca client product (Smart Client, Excel Add-In, etc.) the same person has attempted to reach, but the underlying AdmitDecision only accepts a single Dodeca-user-ID override across all of them; entries have no automatic expiration beyond the 30-day sweep already applied to ADMITTED and AUTO_ADMITTED rows (PENDING and DENIED rows persist indefinitely by design); and there is no bulk action for clearing many DENIED rows at once - dshell’s delete-artifact --category PENDING_ACCESS_REQUEST still works one at a time for that.

Choosing a Stable Identity Key for the Principal Policy

The Principal policy’s protection - detecting a recycled username before it silently inherits a departed person’s access - is only as strong as the identifier the identity provider asserts as the subject. Two provider-specific pitfalls are worth planning for before adopting Principal.

SAML: prefer a persistent NameID format over email or UPN

Under Principal, Dodeca keys a principal’s SAML identity on the pair of the IdP entity ID and NameID. If your identity provider issues NameID as an email address or UPN - the typical default - that pair is itself recyclable: when an email or UPN is reused for a new person, the new person’s login resolves to the existing principal instead of being detected as a new identity, because Dodeca has no way to tell the two people apart.

Where your identity provider supports it, configure a persistent NameID format instead - an employee ID, an object ID, or another value your provider guarantees is never reassigned. This does not have to change the Dodeca username shown to the application: set UsernameAttribute to the SAML assertion attribute that should act as the readable username (for example, the UPN or email). NameID can then carry the stable identifier while the person’s Dodeca username looks exactly the same as before.

OIDC at Microsoft Entra: one app registration per customer, not per Dodeca application

Entra issues the OIDC sub claim as pairwise by default: the same person authenticating through two different Entra app registrations receives two different, unrelated sub values. If you create a separate Entra app registration for each Dodeca application, one person needs a separate principal identity and assignment for every Dodeca application they use.

To keep one person mapped to one subject across every Dodeca application for a customer, register a single Entra app and add one redirect URI per Dodeca application (/sso-launch/{tenant}/{application}), rather than registering a new Entra app per Dodeca application.

Entra "Assignment Required" Must Be Enabled Explicitly

When an OIDC application uses the CreateUserEntriesOnStartup access policy, Dodeca provisions a principal and user entry automatically on first login - the identity provider’s own app-assignment setting is the only thing gating who can reach that point.

A newly registered Microsoft Entra enterprise application has "Assignment required?" set to No by default, which admits every user in the Entra tenant, not just the people you intend to grant access to. Dodeca has no way to detect or enforce this setting - it is entirely the responsibility of whoever configures the Entra app registration, and Dodeca’s own configuration will look correct either way.

Before enabling self-service provisioning for an OIDC application, confirm in Entra that:

  • "Assignment required?" is set to Yes under the application’s Properties, and

  • only the intended users or groups are assigned to the application.

Add this check to the deployment checklist for every new OIDC application.

OIDC Requires Outbound Connectivity from the Dodeca Server to the Identity Provider

SAML needs no server-to-identity-provider network connectivity at all: the Dodeca server validates SAML responses using a certificate exchanged ahead of time, and identity provider metadata is imported as a static file.

OIDC is different. During login, the Dodeca server itself must reach the identity provider’s token endpoint directly to exchange the authorization code, and - unless explicit provider endpoints are configured - its discovery and JWKS URLs as well. This is new outbound connectivity a SAML deployment never needed.

On a locked-down on-prem network, this can fail at runtime in ways that are not obvious from the symptoms: the browser-based authorization redirect may succeed, since that traffic goes through the user’s browser rather than the server, while the subsequent server-to-server token exchange fails silently or times out. Confirm outbound HTTPS access from the Dodeca server to the identity provider’s token and JWKS endpoints before troubleshooting an OIDC login failure as anything else.

Configuring Essbase Impersonation via JNDI

These steps configure the Dodeca-Essbase server environment.

Use the following dshell commands to configure the tenant:

dshell/:> connect <metadata_repository>
dshell/:> use <tenant>
dshell/<tenant>:> generate-encryption-keys
dshell/<tenant>:> set-tenant-option logical-id <logical_server_id>
# Example: dshell/<tenant>:> set-tenant-option logical-id <server>.<tenant>.<domain_name>.<com or net>
# (Optional) Use the print-artifact command to see if a duration has been set: dshell/<tenant>:> print-artifact __TENANT_CONFIG__
dshell/<tenant>:> set-tenant-option token-duration-seconds 86400
dshell/<tenant>:> export-certificate <logical_server_id>.cer --days 3650
dshell/<tenant>:> exit

Use keytool to import the .cer file into the cacerts file in use by Tomcat or a .p12 keystore (either new or existing).

    keytool -import -trustcacerts -alias <logical_server_id> \
            -file "<logical_server_id>.cer" \
            -keystore "<keystore_name>" \
            -storepass <keystore_password> \
            -storetype PKCS12

Replace placeholders with your actual logical server ID, keystore name, and chosen keystore password.

Add the following parameters in Tomcat’s Configuration Utility.

    -Ddodeca.trusted-servers.keyStore=<path_to_keystore>\<keystore_name>
    -Ddodeca.trusted-servers.keyStorePassword=<keystore_password>

Use the full path to the keystore. Do not use quotes around the path or password values here.

Add the Essbase JNDI connection to Tomcat’s context xml.

    <Resource adminPassword="<password>"
              adminUsername="<username>"
              encrypted="false"
              apsServer="embedded"
              server="MyServer"
              singleton="true"
              factory="com.appliedolap.dodeca.essbase.server.connection.EssConnectionFactory"
              type="com.appliedolap.dodeca.essbase.server.connection.EssConnection"
              auth="Container"
              name="essbase/DEFAULT" />

The Essbase connection for the view that uses the SSO Impersonation must be set to ImpersonationViaAuthenticationProvider

Restart the Tomcat service for changes to take effect, then test the connection.