Class SAML2MetadataSupport


public final class SAML2MetadataSupport
extends Object
Utility helper class for SAML 2 metadata objects.
  • Constructor Details

    • SAML2MetadataSupport

      private SAML2MetadataSupport()
  • Method Details

    • getDefaultIndexedEndpoint

      public static <T extends IndexedEndpoint> T getDefaultIndexedEndpoint​(List<T> candidates)
      Select the default IndexedEndpoint from a list of candidates.

      The algorithm used is:

      1. Select the first endpoint with an explicit isDefault=true
      2. Select the first endpoint with no explicit isDefault
      3. Select the first endpoint
      Type Parameters:
      T - the subtype of IndexedType
      candidates - the list of candidate indexed endpoints
      the selected candidate (or null if the list is null or empty)
    • getLogger

      private static org.slf4j.Logger getLogger()
      Get an SLF4J Logger.
      a Logger instance