Class OrganizationUIInfo

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

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

    • LOG

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

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

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

      @Nonnull @Unmodifiable private final Map<Locale,​String> urls
      The Organization URLs as a map from locale to actual value.
    • nullLanguageString

      private final Predicate<LocalizedName> nullLanguageString
      Warning check against a non localized String.
    • nullLanguageURL

      private final Predicate<LocalizedURI> nullLanguageURL
      Warning check against a non localized URL.
  • Constructor Details

    • OrganizationUIInfo

      public OrganizationUIInfo​(@Nonnull Organization organization)
      Constructor.
      Parameters:
      organization - The OpenSaml Organization to convert.
  • Method Details

    • getOrganizationNames

      @Nonnull @Unmodifiable public Map<Locale,​String> getOrganizationNames()
      Get the Organization Names as a map from locale to actual value.
      Returns:
      the display names
    • getOrganizationDisplayNames

      @Nonnull @Unmodifiable public Map<Locale,​String> getOrganizationDisplayNames()
      Return the Organization Display Names as a map from locale to actual value.
      Returns:
      the descriptions names (if any)
    • getOrganizationUrls

      @Nonnull @Unmodifiable public Map<Locale,​String> getOrganizationUrls()
      Return the Organization URLs as a map from locale to actual value.
      Returns:
      the descriptions names (if any)