Class OIDCClientRegistrationMetadataPolicyContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.plugin.oidc.op.messaging.context.OIDCClientRegistrationMetadataPolicyContext
All Implemented Interfaces:
Iterable<BaseContext>

public class OIDCClientRegistrationMetadataPolicyContext extends BaseContext
Subcontext carrying information on the metadata policy related to the dynamic client registration. This context appears as a subcontext of the (inbound) MessageContext.
Since:
3.1.0
  • Field Details

    • metadataPolicy

      private Map<String,MetadataPolicy> metadataPolicy
      The metadata policy related to dynamic client registration.
    • enforcedMetadata

      private OIDCClientMetadata enforcedMetadata
      The policy-enforced requested client metadata.
  • Constructor Details

    • OIDCClientRegistrationMetadataPolicyContext

      public OIDCClientRegistrationMetadataPolicyContext()
      Constructor.
  • Method Details

    • setMetadataPolicy

      public void setMetadataPolicy(@Nullable Map<String,MetadataPolicy> policy)
      Set the metadata policy related to dynamic client registration.
      Parameters:
      policy - What to set.
    • getMetadataPolicy

      @Nullable public Map<String,MetadataPolicy> getMetadataPolicy()
      Get the metadata policy related to dynamic client registration.
      Returns:
      The metadata policy related to dynamic client registration.
    • setPolicyEnforcedMetadata

      public void setPolicyEnforcedMetadata(@Nonnull OIDCClientMetadata metadata)
      Set the policy-enforced requested client metadata.
      Parameters:
      metadata - What to set.
    • getPolicyEnforcedMetadata

      public OIDCClientMetadata getPolicyEnforcedMetadata()
      Get the policy-enforced requested client metadata.
      Returns:
      The policy-enforced requested client metadata.