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
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder forMetadataSettings.UIInfoSettings.static classConfiguration settings forUIInfo.Logoelements.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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Constructs a newMetadataSettings.UIInfoSettings.Builderwith 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.Builderwith 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. AListofMetadataSettings.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.Builderwith no settings.- Returns:
- the
MetadataSettings.UIInfoSettings.Builder
-
withSettings
Constructs a newMetadataSettings.UIInfoSettings.Builderwith the provided settings.- Parameters:
settings- the settings to initialize the builder- Returns:
- the builder
-