Skip to content

Add an agent plugin to support Spring LDAP - #824

Open
wl2027 wants to merge 2 commits into
apache:mainfrom
wl2027:spring-ldap
Open

Add an agent plugin to support Spring LDAP#824
wl2027 wants to merge 2 commits into
apache:mainfrom
wl2027:spring-ldap

Conversation

@wl2027

@wl2027 wl2027 commented Aug 20, 2026

Copy link
Copy Markdown

Add an agent plugin to support Spring LDAP

Add tracing support for non-streaming synchronous operations invoked through LdapTemplate and LdapClient.

The plugin:

  • Creates database exit spans named SpringLDAP/{operation}.

  • Reports the Spring LDAP component as ID 179.

  • Records the logical LDAP operation and the resolved LDAP peer.

  • Marks exceptions and failed authentication results as errors.

  • Supports wrapped context sources, including ObservationContextSource.

  • Does not collect LDAP DNs, filters, attributes, or credentials.

  • Supports Spring LDAP 3.3.8, 4.0.4, and 4.1.0.

  • Add a test case for the new plugin, refer to the doc

  • Add a component id in the component-libraries.yml

  • Add a logo in the UI repo

Trace non-streaming synchronous LdapTemplate and LdapClient operations.
Add privacy-safe peer resolution, failure handling, unit tests, and
OpenLDAP plugin tests for Spring LDAP 3.3.8, 4.0.4, and 4.1.0.
@wu-sheng wu-sheng added enhancement New feature or request plugin labels Aug 20, 2026
@wu-sheng wu-sheng added this to the 9.8.0 milestone Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add tracing support for Spring LDAP in the Java Agent

2 participants