Package net.shibboleth.idp.saml.metadata
Class IdPUIInfo
- java.lang.Object
-
- net.shibboleth.idp.saml.metadata.IdPUIInfo
-
-
Field Summary
Fields Modifier and Type Field Description private Map<Locale,String>descriptionsThe Descriptions as a map from locale to actual value.private Map<Locale,String>displayNamesThe Display Names as a map from locale to actual value.private Map<Locale,String>informationURLsThe Information URLs as a map from locale to actual value.private Map<Locale,List<String>>keywordListThe Keywords as a map from locale to lists of actual values.private Map<Locale,List<Logo>>localeLogosThe Logos as a map from locale to actual value.private static org.slf4j.LoggerLOGlogger.private List<Logo>nonLocaleLogosThe non Locale bearing Logos .private Predicate<Keywords>nullLanguageKeywordWarning check against a non localized keyword.private Map<Locale,String>privacyStatementURLsThe Privacy Statement URLs as a map from locale to actual value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Locale,String>getDescriptions()Return the descriptions as a map from locale to actual value.Map<Locale,String>getDisplayNames()Get the Display Names as a map from locale to actual value.Map<Locale,String>getInformationURLs()Get the URLs as a map from locale to actual value.Map<Locale,List<String>>getKeywords()Get the keywords as a map from locale to actual value.Map<Locale,List<Logo>>getLocaleLogos()Get the logos as a map from locale to the OpenSAMLLogo.List<Logo>getNonLocaleLogos()Get the logos with no associated locale to the OpenSAMLLogo.Map<Locale,String>getPrivacyStatementURLs()Get the Privacy Statement URLsas a map from locale to actual value.private Predicate<LocalizedName>nullLanguageString(String inside)Warning check against a non localized String.private Predicate<LocalizedURI>nullLanguageURL(String inside)Warning check against a non localized URL.
-
-
-
Field Detail
-
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.
-
-
Constructor Detail
-
IdPUIInfo
public IdPUIInfo(@Nonnull UIInfo uiInfo)Constructor.- Parameters:
uiInfo- The OpenSaml UIInfo to convert.
-
-
Method Detail
-
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 OpenSAMLLogo.- Returns:
- the logos (if any)
-
getNonLocaleLogos
@Nonnull @Unmodifiable public List<Logo> getNonLocaleLogos()
Get the logos with no associated locale to the OpenSAMLLogo.- 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)
-
-