java.lang.Object
org.opensaml.saml.metadata.resolver.filter.data.impl.MetadataSource
All Implemented Interfaces:
MetadataFilterContext.Data

public class MetadataSource extends Object implements MetadataFilterContext.Data
Data object for MetadataFilterContext intended to hold information about the source of the metadata currently being processed.
Since:
4.0.0
  • Field Details

    • sourceId

      @Nullable private String sourceId
      An identifier for the source of the metadata, typically the resolver ID.
    • trusted

      private boolean trusted
      Flag indicating whether the metadata source is trusted.
  • Constructor Details

    • MetadataSource

      public MetadataSource()
  • Method Details

    • getSourceId

      @Nullable public String getSourceId()
      Get identifier of the metadata source.
      Returns:
      source identifier
    • setSourceId

      public void setSourceId(@Nullable String id)
      Set identifier of the metadata source.
      Parameters:
      id - source identifier
    • isTrusted

      public boolean isTrusted()
      Get whether the metadata source is trusted.
      Returns:
      true if trusted, false if not
    • setTrusted

      public void setTrusted(boolean flag)
      Set whether the metadata source is trusted.
      Parameters:
      flag - true if trusted, false if not