Package net.shibboleth.idp.saml.metadata
Class IdPUIInfo
java.lang.Object
net.shibboleth.idp.saml.metadata.IdPUIInfo
Class to contain a processed form of the
UIInfo
suitable for display purposes.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Descriptions as a map from locale to actual value.The Display Names as a map from locale to actual value.The Information URLs as a map from locale to actual value.The Keywords as a map from locale to lists of actual values.The Logos as a map from locale to actual value.private static final org.slf4j.Logger
logger.The non Locale bearing Logos .Warning check against a non localized keyword.The Privacy Statement URLs as a map from locale to actual value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the descriptions as a map from locale to actual value.Get the Display Names as a map from locale to actual value.Get the URLs as a map from locale to actual value.Get the keywords as a map from locale to actual value.Get the logos as a map from locale to the OpenSAMLLogo
.Get the logos with no associated locale to the OpenSAMLLogo
.Get the Privacy Statement URLsas a map from locale to actual value.private final Predicate<LocalizedName>
nullLanguageString
(String inside) Warning check against a non localized String.private final Predicate<LocalizedURI>
nullLanguageURL
(String inside) Warning check against a non localized URL.
-
Field Details
-
LOG
private static final org.slf4j.Logger LOGlogger. -
displayNames
The Display Names as a map from locale to actual value. -
keywordList
The Keywords as a map from locale to lists of actual values. -
descriptions
The Descriptions as a map from locale to actual value. -
localeLogos
The Logos as a map from locale to actual value. -
nonLocaleLogos
The non Locale bearing Logos . -
informationURLs
The Information URLs as a map from locale to actual value. -
privacyStatementURLs
The Privacy Statement URLs as a map from locale to actual value. -
nullLanguageKeyword
Warning check against a non localized keyword.
-
-
Constructor Details
-
IdPUIInfo
Constructor.- Parameters:
uiInfo
- The OpenSaml UIInfo to convert.
-
-
Method Details
-
nullLanguageString
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
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
Get the Display Names as a map from locale to actual value.- Returns:
- the display names
-
getKeywords
Get the keywords as a map from locale to actual value.- Returns:
- the display names
-
getDescriptions
Return the descriptions as a map from locale to actual value.- Returns:
- the descriptions names (if any)
-
getLocaleLogos
Get the logos as a map from locale to the OpenSAMLLogo
.- Returns:
- the logos (if any)
-
getNonLocaleLogos
Get the logos with no associated locale to the OpenSAMLLogo
.- Returns:
- the logos (if any)
-
getInformationURLs
Get the URLs as a map from locale to actual value.- Returns:
- the URLs (if any)
-
getPrivacyStatementURLs
Get the Privacy Statement URLsas a map from locale to actual value.- Returns:
- the URLs (if any)
-