Why OpenAM is not updating with OpenDJ data

Tagged: , ,

This topic has 6 replies, 2 voices, and was last updated 6 years, 6 months ago by Firos.

  • Author
    Posts
  • #8856
     Firos
    Participant

    Login to open-AM and change my data, it appears in LDAP and Open-AM correctly. But, if i change any data like an email address in OpenDJ using Apache Directory Studio, Open-AM does not appear to update the information it still has the old email in the end user page.

    I think its due to OpenAM cache.

    How to clear OpenAM cache manually after some updates in OpenDJ?

    • This topic was modified 6 years, 6 months ago by Firos.
    #8876
     Firos
    Participant

    It seems as change in OpenDJ reflects after 24 hour in OpenAM, how? and why?

    #9031
     Firos
    Participant

    Its working fine if update data using OpenAM.

    Any way to manually clear OpenAM cache ?

    #9086
     Nicolas Seigneur
    Participant

    By default, OpenAM should be relying on LDAP Persistent search to keep the cache from getting dirty.

    If you do not see the “fresh” information in OpenAM, I would make sure you do not have issues with persistent search see under /debug/IdRepo.

    Regarding caching control, you can refer to the following entry, it is old but still relevant: https://blogs.oracle.com/aravind/entry/controlling_caching_of_opensso

    Nicolas Seigneur

    #9130
     Firos
    Participant

    One more thing, it seems as issue exists only with cn, uid or other field that we specify in OpenAM’s data store config to identify the user.

    I have tried with some other data like phone number. i.e, changed phone number in OpenDJ and it seems as updated using OpenAM.
    When i changed uid it seems as not updated in OpenAM.

    #9132
     Nicolas Seigneur
    Participant

    Is UID/CN part of the DN?

    If so, with OpenAM 11.0.1+ you should disable the “DN Cache” at the bottom of the DataStore configuration.

    Nicolas Seigneur

    #9198
     Firos
    Participant

    Nicolas Seigneur,

    You did it man… That’s the thing :)

Viewing 7 posts - 1 through 7 (of 7 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?