Class MetadataSettings.UIInfoSettings
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
se.swedenconnect.spring.saml.idp.settings.MetadataSettings.UIInfoSettings
- All Implemented Interfaces:
Serializable
- Enclosing class:
MetadataSettings
Configuration for UIInfo metadata element.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder forMetadataSettings.UIInfoSettings
.static class
Configuration settings forUIInfo.Logo
elements.Nested classes/interfaces inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings
AbstractSettings.AbstractBuilder<T extends AbstractSettings,
B extends AbstractSettings.AbstractBuilder<T, B>> -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Constructs a newMetadataSettings.UIInfoSettings.Builder
with no settings.Gets the UIInfo descriptions as a map of strings where the key is the language tag and the value is the description for that language.Gets the UIInfo display names as a map of strings where the key is the language tag and the value is the display name for that language.Gets the UIInfo logotypes.withSettings
(Map<String, Object> settings) Constructs a newMetadataSettings.UIInfoSettings.Builder
with the provided settings.Methods inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings
equals, getSetting, getSettings, hashCode, toString
-
Field Details
-
DISPLAY_NAME
The UIInfo display name. AMap
.- See Also:
-
DESCRIPTION
The UIInfo description. AMap
.- See Also:
-
LOGOTYPES
The UIInfo logotypes. AList
ofMetadataSettings.UIInfoSettings.LogoSettings
.- See Also:
-
-
Constructor Details
-
UIInfoSettings
Constructor.- Parameters:
settings
- the settings
-
-
Method Details
-
getDisplayNames
Gets the UIInfo display names as a map of strings where the key is the language tag and the value is the display name for that language.- Returns:
- a map of display names
-
getDescriptions
Gets the UIInfo descriptions as a map of strings where the key is the language tag and the value is the description for that language.- Returns:
- a map of descriptions
-
getLogotypes
Gets the UIInfo logotypes.- Returns:
- the UIInfo logotypes.
-
builder
Constructs a newMetadataSettings.UIInfoSettings.Builder
with no settings.- Returns:
- the
MetadataSettings.UIInfoSettings.Builder
-
withSettings
Constructs a newMetadataSettings.UIInfoSettings.Builder
with the provided settings.- Parameters:
settings
- the settings to initialize the builder- Returns:
- the builder
-