Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-4164

AgentsRepo may have cached stale ServiceConfigImpl, returning incorrect agent profile data.

    Details

    • Sprint:
      Sprint 77 - Sustaining
    • Support Ticket IDs:

      Description

      AgentsRepo caches ServiceConfig instance as 'orgConfigCache' which returns valid since smsEntry in ServiceConfigImpl returns valid(true), but it references ServiceSchemaImpl(ss) which has been cleared so it wouldn't be able to return correct data.

      We should check ServiceSchemaImpl (ss) in ServiceConfigImpl has a. subSchemas.isEmpty() b. ssm == null c. orgAttrSchema == null within ServiceConfigImpl#isValid() then depending on the value, we should clear scm within AgentsRepo#getOrgConfig

        Attachments

          Activity

            People

            • Assignee:
              sachiko Sachiko Wallace
              Reporter:
              sachiko Sachiko Wallace
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: