Class InstallableComponentSupport

java.lang.Object
net.shibboleth.profile.installablecomponent.InstallableComponentSupport

public final class InstallableComponentSupport extends Object
Useful methods for supporting Installable Components.
  • Field Details

  • Constructor Details

    • InstallableComponentSupport

      private InstallableComponentSupport()
      Constructor.
  • Method Details

    • getBestVersion

      @Nullable public static InstallableComponentVersion getBestVersion(@Nonnull InstallableComponentVersion installIntoVersion, @Nonnull InstallableComponentVersion pluginVersion, @Nonnull InstallableComponentInfo pluginInfo)
      Find the best update version (plugin or IdP).
      Parameters:
      installIntoVersion - The IdP version to check.
      pluginVersion - The Plugin version
      pluginInfo - all about the plugin
      Returns:
      the best version (or null)
    • loadInfo

      @Nullable public static Properties loadInfo(@Nonnull List<URL> updateURLs, @Nonnull org.apache.hc.client5.http.classic.HttpClient client, @Nullable HttpClientSecurityParameters securityParameters)
      Load the property file describing all the plugin we know about from a known location.
      Parameters:
      updateURLs - where to look
      client - the http client to use
      securityParameters - the HttpClientSecurityParameters, if any
      Returns:
      the property files for the component.