Class EndpointMetadataIndex

java.lang.Object
org.opensaml.saml.metadata.resolver.index.impl.EndpointMetadataIndex
All Implemented Interfaces:
MetadataIndex

public class EndpointMetadataIndex
extends Object
implements MetadataIndex
An implementation of MetadataIndex which indexes entities by their role endpoint locations.

The indexed endpoint location keys are scoped by the containing RoleDescriptor type, Endpoint type, and whether or not the endpoint value was a standard location (Endpoint.getLocation()) or a response location (Endpoint.getResponseLocation()).

  • Field Details

    • log

      private org.slf4j.Logger log
      Logger.
    • endpointSelectionPredicate

      @Nonnull private Predicate<Endpoint> endpointSelectionPredicate
      The predicate which selects which endpoints to index.
  • Constructor Details

    • EndpointMetadataIndex

      public EndpointMetadataIndex()
      Constructor.

      All entity descriptor endpoints will be indexed.

    • EndpointMetadataIndex

      public EndpointMetadataIndex​(@Nonnull @ParameterName(name="endpointPredicate") Predicate<Endpoint> endpointPredicate)
      Constructor.
      Parameters:
      endpointPredicate - the predicate which selects which endpoints to index
  • Method Details