OpenID Connect Federation 1.0: Refactor OIDC Federation metadata policy handling (after interop 3)

Issue #329 new
Yavor Vasilev created an issue

MetadataPolicyEntry:

  • New PolicyEntryValidator interface, with default implementation
  • Validate ops in constructor - throw policy validation exception if invalid
  • Update constructor and parse method to use PolicyEntryValidator
  • When applying the policy to a metadata parameter, observe new ordering of operations - mutation first, checks second.

Rename classes for new terminology, where necessary.

Consider adding support for getting the final RP metadata after resolved policy is applied.

Comments (5)

  1. Log in to comment