Class AbstractSettings
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssertionSettings
,CredentialSettings
,EndpointSettings
,IdentityProviderSettings
,MetadataProviderSettings
,MetadataProviderSettings.HttpProxySettings
,MetadataSettings
,MetadataSettings.ContactPersonSettings
,MetadataSettings.EncryptionMethodSettings
,MetadataSettings.OrganizationSettings
,MetadataSettings.SigningMethodSettings
,MetadataSettings.UIInfoSettings
,MetadataSettings.UIInfoSettings.LogoSettings
Base implementation for configuration settings.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
AbstractSettings.AbstractBuilder<T extends AbstractSettings,
B extends AbstractSettings.AbstractBuilder<T, B>> A builder for subclasses ofAbstractSettings
. -
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractSettings
(Map<String, Object> settings) Constructor. -
Method Summary
-
Constructor Details
-
AbstractSettings
Constructor.- Parameters:
settings
- the settings
-
-
Method Details
-
getSetting
Gets a named configuration setting.- Type Parameters:
T
- the type of the setting- Parameters:
name
- the name of the setting- Returns:
- the setting value, or null if not available
-
getSettings
Returns aMap
of the configuration settings.- Returns:
- a map
-
equals
-
hashCode
public int hashCode() -
toString
-