Sync user account locked status to database (mongoDB)

This topic has 1 reply, 2 voices, and was last updated 5 years, 5 months ago by Ludo.

  • Author
    Posts
  • #15934
     bikumar
    Participant

    Hi,

    We maintain the account locked status of the users in mongoDB too. so for consistency we need to sync the account locked status of the user in openDJ with the corresponding attribute in mongoDB. So is there a way to write a custom module (similar to password validator which checks for every update of passwords) in openDJ such that whenever there is a change in the locked status of the user the same should be updated in mongoDB.

    Thanks,
    Sai.

    • This topic was modified 5 years, 5 months ago by bikumar.
    #15936
     Ludo
    Moderator

    OpenDJ has an account status notification handler API that gets called on different events to the account, such as locked, unlocked, expired…
    Beware that these APIs are evolving and thus likely to change with newer versions.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?