Skip to content

Document phpLDAPadmin Docker setup and delegated access - #1342

Merged
vharseko merged 3 commits into
OpenIdentityPlatform:masterfrom
vharseko:docs/phpldapadmin-docker
Nov 28, 2026
Merged

vharseko merged 3 commits into
OpenIdentityPlatform:masterfrom
vharseko:docs/phpldapadmin-docker

Conversation

@vharseko

@vharseko vharseko commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add an AsciiDoc How-To for connecting phpLDAPadmin v2 to OpenDJ with Docker Compose.
  • Show how to create a login and delegate user administration and password resets below the People organizational unit.
  • Include screenshots of the login form and the directory after sign-in.
  • Use the Antora document title and anchor pattern from Fix the Subordinate Backends page title #1321 for the phpLDAPadmin page.
  • Check the title of every generated Antora page during Maven verification, including pages whose headers come from ROOT partials.
  • Accept :title: overrides on pages with a document header and require a nonblank resolved title.

Verification

  • Ran OpenDJ and phpLDAPadmin in Docker Compose. Signed in and saved an entry update through phpLDAPadmin.
  • Verified delegated entry creation, deletion, and password reset in OpenDJ, along with denial of writes outside the delegated scope.
  • Rendered both screenshots with Asciidoctor and validated the How-To cross-references.
  • Confirmed that the all-page scan detects the original missing document title.
  • Ran all 18 AntoraPageTitlesIT cases and 26 documentation tests on JDK 21. The title tests cover a heading with :title:, a standalone :title:, and a section heading without a document header.
  • Checked 652 cross-guide file references across 80 pages.
  • Built Antora from the Maven-generated sources and verified titles on all 81 pages. Checked the phpLDAPadmin page heading, browser title, sidebar, breadcrumbs, How-To index, both screenshots, and all six anchors.

@vharseko
vharseko requested a review from maximthomas November 27, 2026 22:03
@vharseko vharseko added docs docker ACI Access Control Instructions subsystem labels Nov 27, 2026

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: The recipe uses an actual inetOrgPerson login entry and scopes delegated profile changes and password resets to entries below ou=People; the positive and negative access checks passed.

@vharseko
vharseko force-pushed the docs/phpldapadmin-docker branch from 035d799 to 89e098a Compare November 28, 2026 10:14
@vharseko

Copy link
Copy Markdown
Member Author

@maximthomas Thanks for verifying the delegated access. I updated the phpLDAPadmin page in 89e098a67f to use the Antora title and anchor pattern from #1321. The page now has the correct title in the browser and navigation, and all six anchors are preserved. The new check scans every generated Antora page during Maven verification. All 15 AntoraPageTitlesIT tests passed.

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: The Antora page now has the expected title in the sidebar, breadcrumbs, and browser tab, and all six expected anchor IDs work in both the published page and the combined How-To source.


suggestion (non-blocking): Check for an actual document header when a page uses :title:.

AntoraPageTitlesIT.java:135

The new all-page scan applies the existing :title: assertion to every generated page. A document with = Heading followed by :title: Browser Title publishes with the title Browser Title in Antora 3.1.15, and the integration test rejects it. The 81 current generated pages have zero uses of that attribute. Check for an actual AsciiDoc header and require a nonblank title so that a titled page with an override passes and a headerless page with only :title: still fails.

= Heading
:title: Browser Title
Antora 3.1.15: header=true, title=Browser Title
AntoraPageTitlesIT: rejected because the title attribute was present

vharseko added a commit to OpenIdentityPlatform/OpenIG that referenced this pull request Nov 28, 2026
## Summary

- Validate the document title of every generated Antora page during
Maven verification. Resolve headers supplied by ROOT partials and report
the path of each untitled page.
- Restore the Antora titles of Logging Events in OpenIG and Getting
Started while preserving their chapter anchors.
- Follow OpenIdentityPlatform/OpenDJ#1342.

## Verification

- Ran the title integration test on JDK 11 and 27 against all 49
generated pages.
- Confirmed that the test rejects nested pages with only a section
heading or a title attribute. Verified both restored headings and
chapter anchors in Antora HTML.
vharseko added a commit to OpenIdentityPlatform/OpenIDM that referenced this pull request Nov 28, 2026
## Summary

- Validate the document title of every generated Antora page during
Maven verification. Resolve headers supplied by ROOT partials and report
the path of each untitled page.
- Restore the Antora title of the Legacy Microsoft Exchange Connector
chapter while preserving its existing anchors.
- Follow OpenIdentityPlatform/OpenDJ#1342.

## Verification

- Ran the title integration test on JDK 17 and 27 against all 97
generated pages.
- Confirmed that the test rejects nested pages with only a section
heading or a title attribute. Verified the restored Exchange title and
all three anchor IDs with Antora's loader.
@vharseko

Copy link
Copy Markdown
Member Author

@maximthomas I addressed the title override suggestion in a0c6b08. AntoraPageTitlesIT now checks for a document header in the parsed AsciiDoc and requires a nonblank resolved title. Review suggestion

The new cases cover a heading with :title:, a standalone :title:, and a section heading without a document header. All 18 title tests and 26 documentation tests passed on JDK 21.

@vharseko
vharseko requested a review from maximthomas November 28, 2026 11:50

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Header detection now accepts valid :title: overrides and rejects headerless pages, with three focused regression cases.

AntoraPageTitlesIT.java:128

vharseko added a commit to OpenIdentityPlatform/OpenAM that referenced this pull request Nov 28, 2026
## Summary

- Validate every generated Antora page during Maven verification.
Require a document header and a nonblank title from a single parse,
support headers supplied by ROOT partials, and report the path of each
untitled page.
- Restore the Antora titles of Get Started with OpenAM and Quick Start
Guide while preserving all 29 published article anchors, including
`_get_started_with_openam` and `_quick_start_guide`.
- Follow OpenIdentityPlatform/OpenDJ#1342.

## Verification

- Ran all seven `AntoraPageTitlesIT` tests with Maven on JDK 11. The
tests passed, covering the scan of 163 generated pages, title overrides
with conditional or missing headers, and both restored anchors.
- Built the generated sources with Antora 3.1.15 and verified both
headings and browser titles. Compared the rendered articles with the
published pages and confirmed that all 29 published IDs remain present
and each restored ID occurs once.
vharseko pushed a commit to OpenIdentityPlatform/commons that referenced this pull request Nov 28, 2026
## Summary

- Validate generated AsciiDoc page titles at the end of the `antora`
goal and report all pages missing a document title.
- Parse headers with `env-site` set, resolve `ROOT:partial$` includes,
and preserve `:title:` overrides when a document header is present.
- Cover pages with only a section heading or title attribute, plus a
header conditional on `:title:`.

## Testing

- `mvn -o -pl commons/doc-maven-plugin -am -Dmaven.javadoc.skip=true
install` passed on JDK 17 with 553 tests.
- Ran Antora generation with the updated plugin against the OpenIG,
OpenAM, OpenIDM, and OpenDJ PR sources. The OpenDJ run used locally
generated man-page partials. [OpenIG
#201](OpenIdentityPlatform/OpenIG#201), [OpenAM
#1259](OpenIdentityPlatform/OpenAM#1259),
[OpenIDM
#281](OpenIdentityPlatform/OpenIDM#281), [OpenDJ
#1342](OpenIdentityPlatform/OpenDJ#1342).
@vharseko
vharseko merged commit 6d9e1fc into OpenIdentityPlatform:master Nov 28, 2026
32 checks passed
@vharseko
vharseko deleted the docs/phpldapadmin-docker branch November 28, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ACI Access Control Instructions subsystem bug docker docs java Changes to Java sources tests Test suites: fixing, enabling, un-disabling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants