spring-ldap
spring-ldap copied to clipboard
Listening for change
trafficstars
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.