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

    • LOG

      private static final org.slf4j.Logger LOG
      logger.
    • displayNames

      @Nonnull @Unmodifiable private final Map<Locale,String> displayNames
      The Display Names as a map from locale to actual value.
    • keywordList

      @Nonnull @Unmodifiable private final Map<Locale,List<String>> keywordList
      The Keywords as a map from locale to lists of actual values.
    • descriptions

      @Nonnull @Unmodifiable private final Map<Locale,String> descriptions
      The Descriptions as a map from locale to actual value.
    • localeLogos

      @Nonnull @Unmodifiable private final Map<Locale,List<Logo>> localeLogos
      The Logos as a map from locale to actual value.
    • nonLocaleLogos

      @Nonnull @Unmodifiable private final List<Logo> nonLocaleLogos
      The non Locale bearing Logos .
    • informationURLs

      @Nonnull @Unmodifiable private final Map<Locale,String> informationURLs
      The Information URLs as a map from locale to actual value.
    • privacyStatementURLs

      @Nonnull @Unmodifiable private final Map<Locale,String> privacyStatementURLs
      The Privacy Statement URLs as a map from locale to actual value.
    • nullLanguageKeyword

      private final Predicate<Keywords> nullLanguageKeyword
      Warning check against a non localized keyword.
  • 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

      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 public Map<Locale,String> getDisplayNames()
      Get the Display Names as a map from locale to actual value.
      Returns:
      the display names
    • getKeywords

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

      @Nonnull @Unmodifiable 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 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 public List<Logo> getNonLocaleLogos()
      Get the logos with no associated locale to the OpenSAML Logo.
      Returns:
      the logos (if any)
    • getInformationURLs

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

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