Class MetadataQueryRequest

java.lang.Object
net.shibboleth.idp.profile.impl.MetadataQueryRequest

@ThreadSafe public class MetadataQueryRequest extends Object
Object representing a query for metadata.

This abstracts the parameters used to populate the context tree.

  • Field Details

    • entityID

      @Nullable @NotEmpty private String entityID
      An entityID.
    • protocol

      @Nullable private String protocol
      Protocol identifier for query.
    • detectDuplicateEntityIDs

      @Nullable private DetectDuplicateEntityIDs detectDuplicateEntityIDs
      The strategy for duplicate entityID detection.
  • Constructor Details

    • MetadataQueryRequest

      public MetadataQueryRequest()
      Constructor.
  • Method Details

    • getEntityID

      @Nullable @NotEmpty public String getEntityID()
      Get the entityID to query on.
      Returns:
      entityID for query
    • setEntityID

      public void setEntityID(@Nullable @NotEmpty String id)
      Set the entityID to query on.
      Parameters:
      id - entityID for query
    • getProtocol

      @Nullable @NotEmpty public String getProtocol()
      Get the protocol to query on.
      Returns:
      protocol for query
    • setProtocol

      public void setProtocol(@Nullable @NotEmpty String prot)
      Set the protocol to query on.
      Parameters:
      prot - protocol for query
    • getDetectDuplicateEntityIDs

      @Nullable public DetectDuplicateEntityIDs getDetectDuplicateEntityIDs()
      Get the strategy for duplicate entityID detection.
      Returns:
      strategy for duplicate entityID detection
    • setDetectDuplicateEntityIDs

      public void setDetectDuplicateEntityIDs(@Nullable DetectDuplicateEntityIDs strategy)
      Set the strategy for duplicate entityID detection.
      Parameters:
      strategy - the strategy for duplicate entityID detection
    • toString

      public String toString()
      Overrides:
      toString in class Object