> For the complete documentation index, see [llms.txt](https://academy.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.pentaho.com/solution-architect-path/speciality-courses/enterprise-security.md). Agents can also search and read this documentation through its [MCP server](https://academy.pentaho.com/~gitbook/mcp).

# Enterprise Security

The fifth and last course of the Solution Architect path: Enterprise Security, the Integrating Authentication Mechanisms Specialty. 17 lessons across 6 modules.

{% hint style="warning" icon="eye" %}
**Preview: the new Pentaho Academy launches in January 2027.**

This page is an early draft, shared now so Pentaho users can see where the Academy is heading: technical enablement built on learning paths that match your job role, from your first course to certification. Until launch, some links, labs and resources are still being put in place.

Built from `admin-auth-specialty` 0.1.0 in Pentaho Content Manager, the same Specialty course the Administrator path offers as Integrating Authentication Mechanisms. Module and lesson names, the reading-or-workshop kinds and the times come straight from each lab's manifest; the labs have not yet been run end to end on a lab server. Items marked REPLACE-ME need an owner's confirmation.
{% endhint %}

**Enterprise Security: Integrating Authentication Mechanisms.** The fifth and last course of the Solution Architect path, before the certification. It is the same Specialty course as [Integrating Authentication Mechanisms](https://academy.pentaho.com/administrator-path/speciality-courses/integrating-authentication-mechanisms.md) on the Administrator path. Installation, Containers and High Availability gave you a platform you can deploy and keep available; this course decides who signs in to it, and where their roles come from. You start with the two directory providers Pentaho ships, LDAP and Active Directory. Then you add OpenID Connect sign-on, first with Keycloak and then with Microsoft Entra ID, and finally Kerberos silent login (Integrated Windows Authentication, or IWA) for users on domain-joined desktops. The course ends with a capstone that combines all three for one client.

{% columns %}
{% column %}

<p align="center"><i class="fa-file-lines" style="color:green;">:file-lines:</i><br><strong>17 lessons</strong><br><em>across 6 modules</em></p>
{% endcolumn %}

{% column %}

<p align="center"><i class="fa-flask" style="color:orange;">:flask:</i><br><strong>10 workshops</strong><br><em>hands-on labs, plus a capstone</em></p>
{% endcolumn %}

{% column %}

<p align="center"><i class="fa-clock" style="color:cyan;">:clock:</i><br><strong>~6h 45m</strong><br><em>a day, or two evenings</em></p>
{% endcolumn %}
{% endcolumns %}

{% hint style="success" icon="shield-keyhole" %}
Every workshop is hands-on and runs on one Ubuntu lab server: Pentaho Server 11, an OpenLDAP directory, a Samba Active Directory domain controller for the domain `PENTAHO.LAB`, and Keycloak. You work in a terminal and in Firefox on its desktop. The Entra ID workshops also need a Microsoft Entra ID tenant (REPLACE-ME: a Pentaho-provided test tenant, or the learner's own).
{% endhint %}

***

<h3 align="center">Before you start</h3>

{% columns %}
{% column %}
{% hint style="success" icon="circle-check" %}
**What you'll need**

Comfort with the Linux command line and with editing the Pentaho Server's configuration files. On this path DI Developer, Installation, Containers and High Availability come first, but the course itself stands alone: it teaches LDAP and Active Directory from the start. The workshops share one Pentaho Server and change its security setup as they go, so each module starts from the state the last one left.
{% endhint %}
{% endcolumn %}

{% column %}
{% hint style="info" icon="tag" %}
**Built against**

Pentaho Enterprise Edition **11.0.0.3 (SP3)**, the build nearly every course on the Academy runs, on the course's Ubuntu lab server, with OpenLDAP, a Samba Active Directory domain controller and Keycloak. For Kerberos silent login the course adds Spring Security Kerberos 2.2.0 to the Pentaho webapp, since Pentaho 11 ships no Kerberos libraries.
{% endhint %}
{% endcolumn %}
{% endcolumns %}

***

## How sign-in works in Pentaho

Every sign-in answers two questions, and in Pentaho 11 two different parts answer them.

* **Who is this?** An **authentication mechanism** answers this one. It might be Pentaho's own login form, an identity provider through OpenID Connect (OIDC), or a Kerberos ticket from the Windows domain.
* **What may they do?** A **security provider** answers this one. It holds users and their roles: Jackrabbit (Pentaho's own repository), an LDAP directory, or Active Directory.

The mechanism passes Pentaho only a username. Pentaho then asks the security provider for that username's roles.

<figure><img src="https://4232202144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeIhSpTGdExnuti9odGI%2Fuploads%2Fa6JNmvmCK8oSLABaBsWF%2Fsign-in-two-halves.svg?alt=media" alt="Two halves of a sign-in. Who is this: the login form, OpenID Connect through Keycloak or Entra ID, or a Kerberos ticket from the Windows domain, each handing Pentaho a username. What may they do: the security provider, Jackrabbit or LDAP for OpenLDAP and Active Directory, supplies the roles Pentaho Server signs the user in with. Roles never come from the identity provider"><figcaption><p>The two halves of every sign-in: a mechanism proves who, a security provider says what.</p></figcaption></figure>

With the login form, the security provider answers both questions: it checks the password and supplies the roles. With OpenID Connect or Kerberos, someone else checks who the user is. The roles still come from the security provider, never from the identity provider. That is why the same username has to exist in both places: a user whose name the security provider does not know signs in with no roles.

### OpenID Connect: signing in at an identity provider

With OpenID Connect, Pentaho shows no password box of its own. It sends the browser to an identity provider, such as Keycloak or Microsoft Entra ID, and trusts the identity provider's answer about who the user is. The user's password never reaches the Pentaho Server.

<figure><img src="https://4232202144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeIhSpTGdExnuti9odGI%2Fuploads%2FKYNDPiPaOXLFfnLJydUI%2Foidc-code-flow.svg?alt=media" alt="Browser, Pentaho Server and Keycloak: 1 GET /pentaho; 2 redirect to the authorization-uri; 3 suzy signs in at Keycloak; 4 redirect back to /pentaho/login/oauth2/code/keycloak with a code; back channel: 5 Pentaho posts the code to the token-uri, 6 gets the ID token, 7 checks its signature; 8 takes the preferred_username claim; 9 asks the security provider for roles; 10 signs her in"><figcaption><p>The OpenID Connect authorization code flow in Pentaho 11: steps 5 to 7 run server to server, and the roles come from the security provider.</p></figcaption></figure>

{% hint style="info" icon="gears" %}
**Under the hood**

* Switch OIDC on with `enable-oauth-authentication=true` in `security.properties`.
* Each identity provider gets one **registration** in `applicationContext-spring-security-oauth.properties`: a block of keys whose prefix matches the registration's `registration-id`, such as `keycloak.`. Each registration adds a button to the login page.
* The identity provider sends the browser back to the **callback** `http://<host>:8080/pentaho/login/oauth2/code/<registration-id>`, so that address must be registered with the provider as a redirect URI.
* `user-name-attribute-name` picks the token **claim** used as the Pentaho username. The course uses `preferred_username`.
* `enable-global-logout=true`, in the same file, makes signing out of Pentaho also end the session at the identity provider. Without it, the identity provider can sign the user straight back in.
  {% endhint %}

### Kerberos: signing in with a domain ticket

With Kerberos, users who have already signed in to the Windows domain open Pentaho and are simply in, with no login page. Their browser proves who they are with a ticket from the domain, through a protocol called SPNEGO.

<figure><img src="https://4232202144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeIhSpTGdExnuti9odGI%2Fuploads%2FxQejOlxWhqSKTK1DcMKA%2Fspnego-flow.svg?alt=media" alt="Browser on a domain-joined PC, domain controller and Pentaho Server: 1 the user holds a TGT from domain sign-in; 2 GET /pentaho; 3 401 Negotiate; 4 and 5 the KDC issues a ticket for HTTP/pentaho.pentaho.lab; 6 the browser sends it; 7 Pentaho decrypts it with the keytab and gets suzy@PENTAHO.LAB; 8 roles come from Active Directory over LDAP; 9 signed in; 10 with no ticket, the login page appears"><figcaption><p>Kerberos/SPNEGO silent sign-in, with the login form as the fallback.</p></figcaption></figure>

{% hint style="info" icon="gears" %}
**Under the hood**

* **The SPN.** Tickets are issued for a service principal name, `HTTP/pentaho.pentaho.lab`, which must match the address in the browser. So you open `http://pentaho.pentaho.lab:8080/pentaho`, never `localhost`.
* **The keytab.** A file holding the key of the Active Directory service account behind that SPN. Pentaho uses it to check tickets without needing a password.
* **The added jars.** Pentaho 11 ships no Kerberos libraries. The course adds Spring Security Kerberos 2.2.0 (`core` and `web`) to the Pentaho webapp, and wires the SPNEGO beans into `applicationContext-spring-security.xml`.
* **Browser trust.** A browser sends tickets only to sites it trusts. In Firefox that is `network.negotiate-auth.trusted-uris`, set to `.pentaho.lab`.
* **Clocks.** Kerberos refuses tickets when clocks differ by more than five minutes.
  {% endhint %}

### Choosing for a customer

Pick the security provider from where the customer's users already live, and the authentication mechanism from how those users already sign in to everything else.

<table data-search="false"><thead><tr><th>The customer has</th><th>Security provider</th><th>Authentication mechanism</th></tr></thead><tbody><tr><td>A small team, and no directory</td><td>Jackrabbit</td><td>The login form</td></tr><tr><td>An LDAP directory such as OpenLDAP</td><td>LDAP</td><td>The login form</td></tr><tr><td>Active Directory</td><td>LDAP, with Active Directory settings</td><td>The login form</td></tr><tr><td>A cloud identity provider, or contractors outside the domain</td><td>LDAP or Active Directory, for roles</td><td>OpenID Connect</td></tr><tr><td>Domain-joined desktops, and users who expect no login page</td><td>Active Directory</td><td>Kerberos, with the login form as fallback</td></tr></tbody></table>

The mechanisms combine: one Pentaho Server can offer a Kerberos ticket, several identity provider buttons and the login form at once. The security provider does not: roles always come from one place.

**Where SAML and CAS stand.** Earlier Pentaho releases offered SAML and CAS for single sign-on. This course does not teach either; one reading explains where they stand in Pentaho 11, and points to OpenID Connect as the way forward. REPLACE-ME: confirm with Pentaho support whether SAML is supported on Pentaho 11 at all.

***

{% hint style="info" icon="trophy" %}

#### What you'll build

The course ends in a capstone project for Meridian Freight, a logistics company whose security team allows nobody a Pentaho password. Office staff on domain-joined desktops sign in silently with Kerberos, contractors sign in through Meridian's own Keycloak realm, and one break-glass administrator keeps the login form. Every role comes from Meridian's Active Directory groups, and you hand over the configuration with every secret removed, plus a decision record Meridian's security team can review.
{% endhint %}

<figure><img src="https://4232202144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeIhSpTGdExnuti9odGI%2Fuploads%2FABLpdaZmipk8Hdg54lBn%2Fcapstone-three-ways-in.svg?alt=media" alt="Meridian&#x27;s office staff sign in with a Kerberos ticket, contractors through the Meridian button and Keycloak&#x27;s meridian realm, and the break-glass pentahoadmin on the login form; all three hand a name to the same LDAP provider on Active Directory, which follows the nesting to Pentaho Admins, Business Analyst or Report Author"><figcaption><p>Meridian Freight's sign-on: three ways in, one source of roles.</p></figcaption></figure>

***

<h3 align="center">Skills you'll gain</h3>

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><i class="fa-address-book" style="color:blue;">:address-book:</i> <strong>Directory sign-on</strong></td><td>The LDAP provider against OpenLDAP · Active Directory settings and nested groups · users and roles from the directory</td></tr><tr><td><i class="fa-id-badge" style="color:blue;">:id-badge:</i> <strong>OpenID Connect with Keycloak</strong></td><td>The authorization code flow · a Keycloak realm and the Pentaho client · enable-oauth-authentication · global logout · matching OIDC users to Jackrabbit or LDAP roles</td></tr><tr><td><i class="fa-cloud" style="color:blue;">:cloud:</i> <strong>Microsoft Entra ID</strong></td><td>Registering Pentaho in Entra ID · a second provider beside Keycloak · why the Entra ID username is a different user · Okta and other OIDC providers the same way</td></tr><tr><td><i class="fa-windows" style="color:blue;">:windows:</i> <strong>Kerberos and IWA</strong></td><td>The SPN and the keytab · Spring Security Kerberos and the SPNEGO beans · browser trust · troubleshooting silent sign-in that falls back to the login page</td></tr><tr><td><i class="fa-trophy" style="color:blue;">:trophy:</i> <strong>Capstone</strong></td><td>Single sign-on for a client end to end · three ways in, one role source · a redacted hand-over and a decision record</td></tr></tbody></table>

***

<h3 align="center">Course outline</h3>

<p align="center"><i class="fa-file-lines" style="color:green;">:file-lines:</i> reading · <i class="fa-flask" style="color:orange;">:flask:</i> hands-on workshop</p>

{% hint style="info" icon="circle-info" %}
Full lessons unlock once you're enrolled — this is the outline only. Times are the lab guides' own estimates.
{% endhint %}

<table data-search="false"><thead><tr><th width="382">Module</th><th width="115" align="center">Reading</th><th width="132" align="center">Workshops</th><th width="100" align="right">Time</th></tr></thead><tbody><tr><td>Getting Started</td><td align="center">2</td><td align="center">—</td><td align="right">~30m</td></tr><tr><td>Directory Sign-On: LDAP and Active Directory</td><td align="center">1</td><td align="center">2</td><td align="right">~55m</td></tr><tr><td>OpenID Connect with Keycloak</td><td align="center">1</td><td align="center">3</td><td align="right">~1h 15m</td></tr><tr><td>OpenID Connect with Microsoft Entra ID</td><td align="center">1</td><td align="center">2</td><td align="right">~55m</td></tr><tr><td>Kerberos and IWA</td><td align="center">2</td><td align="center">2</td><td align="right">~1h 10m</td></tr><tr><td>Capstone Project</td><td align="center">—</td><td align="center">1</td><td align="right">~2h</td></tr><tr><td><strong>Total</strong></td><td align="center"><strong>7</strong></td><td align="center"><strong>10</strong></td><td align="right"><strong>~6h 45m</strong></td></tr></tbody></table>

{% stepper %}
{% step %}

### <i class="fa-rocket" style="color:blue;">:rocket:</i> Getting Started

`2 readings · ~30m`

How to get the most out of this guide, and the authentication options Pentaho 11 offers: where each one fits, and where SAML and CAS now stand.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Before You Start</td><td>~15m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Authentication in Pentaho 11</td><td>~15m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-address-book" style="color:blue;">:address-book:</i> Directory Sign-On: LDAP and Active Directory

`1 reading · 2 workshops · ~55m`

Pentaho's two out-of-the-box directory providers. You point the Pentaho Server at an OpenLDAP directory, then at a simulated Active Directory domain, with users and roles coming from the directory.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Directory Sign-On</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>LDAP with OpenLDAP</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Active Directory with a Simulated Domain</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-id-badge" style="color:blue;">:id-badge:</i> OpenID Connect with Keycloak

`1 reading · 3 workshops · ~1h 15m`

The single sign-on Pentaho 11 ships out of the box, worked end to end against a Keycloak realm in the lab: the authorization code flow, the Pentaho client, and signed-in users matched to Jackrabbit or LDAP roles.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>How OIDC Sign-On Works in Pentaho 11</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Keycloak as the Identity Provider</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Enable OAuth and Register the Pentaho Client</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Match OIDC Users to Jackrabbit or LDAP Roles</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-cloud" style="color:blue;">:cloud:</i> OpenID Connect with Microsoft Entra ID

`1 reading · 2 workshops · ~55m`

The same flow against the cloud identity provider most customers run, enabled alongside Keycloak. Okta and other OIDC providers are configured the same way. The tenant is an open item: REPLACE-ME — confirm whether it is a Pentaho-provided test tenant or the learner's own.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Entra ID Sign-On</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Register Pentaho in Microsoft Entra ID</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Entra ID as a Second Provider</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-windows" style="color:blue;">:windows:</i> Kerberos and IWA

`2 readings · 2 workshops · ~1h 10m`

Integrated Windows Authentication: Kerberos/SPNEGO silent login for domain-joined users, and how to troubleshoot it. This is platform sign-on, separate from the Kerberos Pentaho uses to reach secured big-data clusters.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Kerberos and IWA</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Configure IWA Prerequisites</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Enable Kerberos SPNEGO Silent Login</td><td>~20m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Troubleshooting IWA Login Failures</td><td>~15m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-trophy" style="color:blue;">:trophy:</i> Capstone Project

`1 workshop · ~2h`

Single sign-on for a client end to end: an identity provider, role matching, and silent login where the scenario needs it. For Meridian Freight, that means Kerberos for office staff, a Keycloak realm for contractors, and roles from Active Directory.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Capstone: Single Sign-On for a Client</td><td>~2h</td></tr></tbody></table>

</details>
{% endstep %}
{% endstepper %}

***

<h3 align="center">Exam &#x26; accreditation</h3>

{% columns %}
{% column %}
{% hint style="info" icon="clipboard-check" %}
**The course exam**

30 questions drawn at random from a pool of 35, covering directory sign-on, OpenID Connect with Keycloak and Entra ID, and Kerberos/IWA silent login. The pass mark is 80%. It's open-book: browse any module or ask the AI assistant while you work.
{% endhint %}
{% endcolumn %}

{% column %}
{% hint style="warning" icon="file-certificate" %}
**Course accreditation**

The exam is self-paced and not proctored. REPLACE-ME — confirm the name of the course accreditation that passing it issues.

This course is the fifth and last step on the Certified Solution Architect learning path: DI Developer, then Installation, then the Containers, High Availability and Enterprise Security Speciality courses, leading to the Certified Solution Architect credential — which closes with a proctored exam delivered through Kryterion's Webassessor.
{% endhint %}
{% endcolumn %}
{% endcolumns %}

***

<p align="center"><a href="https://academy.pentaho.com/solution-architect-path/solution-architect.md" class="button primary" data-icon="arrow-right">Next: the Certified Solution Architect certification</a></p>

<p align="center"><a href="https://academy.pentaho.com/solution-architect-path/solution-architect.md" class="button secondary" data-icon="arrow-left">Back to the Solution Architect path</a></p>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.pentaho.com/solution-architect-path/speciality-courses/enterprise-security.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
