Class EndpointMetadataIndex.DefaultEndpointSelectionPredicate

  • All Implemented Interfaces:
    Predicate<org.opensaml.saml.saml2.metadata.Endpoint>
    Enclosing class:
    EndpointMetadataIndex

    public static class EndpointMetadataIndex.DefaultEndpointSelectionPredicate
    extends Object
    implements Predicate<org.opensaml.saml.saml2.metadata.Endpoint>
    The default endpoint selection predicate, which evaluates an Endpoint using a map of QName endpoint types, indexed by role type.
    • Field Detail

      • endpointTypes

        @Nonnull
        private Map<QName,​Set<QName>> endpointTypes
        The indexable endpoint types.
    • Constructor Detail

      • DefaultEndpointSelectionPredicate

        public DefaultEndpointSelectionPredicate()
        Constructor.
      • DefaultEndpointSelectionPredicate

        public DefaultEndpointSelectionPredicate​(@ParameterName(name="indexableTypes") @Nonnull
                                                 Map<QName,​Set<QName>> indexableTypes)
        Constructor.
        Parameters:
        indexableTypes - a map controlling the types of endpoints to index
    • Method Detail

      • test

        public boolean test​(@Nullable
                            org.opensaml.saml.saml2.metadata.Endpoint endpoint)
        Specified by:
        test in interface Predicate<org.opensaml.saml.saml2.metadata.Endpoint>