Class IdPUIInfo

java.lang.Object
net.shibboleth.idp.saml.metadata.IdPUIInfo

public class IdPUIInfo extends Object
Class to contain a processed form of the UIInfo suitable for display purposes.
  • Field Details

  • Constructor Details

    • IdPUIInfo

      public IdPUIInfo(@Nonnull UIInfo uiInfo)
      Constructor.
      Parameters:
      uiInfo - The OpenSaml UIInfo to convert.
  • Method Details

    • nullLanguageString

      @Nonnull private final Predicate<LocalizedName> nullLanguageString(String inside)
      Warning check against a non localized String.
      Parameters:
      inside - further contextual info for logging
      Returns:
      true if the string inside the name is empty.
    • nullLanguageURL

      @Nonnull private final Predicate<LocalizedURI> nullLanguageURL(@Nonnull String inside)
      Warning check against a non localized URL.
      Parameters:
      inside - further contextual info for logging
      Returns:
      true if the string inside the name is empty.
    • getDisplayNames

      @Nonnull @Unmodifiable @NotLive public Map<Locale,String> getDisplayNames()
      Get the Display Names as a map from locale to actual value.
      Returns:
      the display names
    • getKeywords

      @Nonnull @Unmodifiable @NotLive public Map<Locale,List<String>> getKeywords()
      Get the keywords as a map from locale to actual value.
      Returns:
      the display names
    • getDescriptions

      @Nonnull @Unmodifiable @NotLive public Map<Locale,String> getDescriptions()
      Return the descriptions as a map from locale to actual value.
      Returns:
      the descriptions names (if any)
    • getLocaleLogos

      @Nonnull @Unmodifiable @NotLive public Map<Locale,List<Logo>> getLocaleLogos()
      Get the logos as a map from locale to the OpenSAML Logo.
      Returns:
      the logos (if any)
    • getNonLocaleLogos

      @Nonnull @Unmodifiable @NotLive public List<Logo> getNonLocaleLogos()
      Get the logos with no associated locale to the OpenSAML Logo.
      Returns:
      the logos (if any)
    • getInformationURLs

      @Nonnull @Unmodifiable @NotLive public Map<Locale,String> getInformationURLs()
      Get the URLs as a map from locale to actual value.
      Returns:
      the URLs (if any)
    • getPrivacyStatementURLs

      @Nonnull @Unmodifiable @NotLive public Map<Locale,String> getPrivacyStatementURLs()
      Get the Privacy Statement URLsas a map from locale to actual value.
      Returns:
      the URLs (if any)