spring-projects / spring-projects/spring-ldap

Listening for change

Open
#1,051 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
375
Forks
501
Avg merge
6h 4m
Merged PRs (30d)
63

Description

Hey, is there any easy way to listen for changes on objectClass = group for example ?
The idea is that, for example, if the memberIds in a group changes then the logged-in LDAP user in the spring application should be informed that something has changed.

Similarly can be used in listening for password changes, if changed then blacklist related refreshToken.
I currently have this done on @Scheduled() and check every 60 seconds.

I wonder if it can be done better to make it work in real time.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing @Scheduled() polling approach and how changes to LDAP objectClass = group, memberIds, and passwords are observed. Define the desired real-time notification behavior for logged-in users and refreshToken invalidation before identifying the appropriate project entry points and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
authentication, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.