Class MetadataProviderSettings.HttpProxySettings
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
se.swedenconnect.spring.saml.idp.settings.MetadataProviderSettings.HttpProxySettings
- All Implemented Interfaces:
Serializable
- Enclosing class:
MetadataProviderSettings
Settings for representing HTTP proxy configuration.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder forMetadataProviderSettings.HttpProxySettings
.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
ModifierConstructorDescriptionprotected
HttpProxySettings
(Map<String, Object> settings) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Constructs a newMetadataProviderSettings.HttpProxySettings.Builder
with no settings.getHost()
Gets the HTTP proxy host.Gets the HTTP proxy password.getPort()
Gets the HTTP proxy port.Gets the HTTP proxy username.withSettings
(Map<String, Object> settings) Constructs a newMetadataProviderSettings.HttpProxySettings.Builder
with the provided settings.Methods inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings
equals, getSetting, getSettings, hashCode, toString
-
Field Details
-
Constructor Details
-
HttpProxySettings
Constructor.- Parameters:
settings
- the settings
-
-
Method Details
-
getHost
Gets the HTTP proxy host.- Returns:
- the HTTP proxy host
-
getPort
Gets the HTTP proxy port.- Returns:
- the HTTP proxy port
-
getUserName
Gets the HTTP proxy username.- Returns:
- the proxy username or
null
-
getPassword
Gets the HTTP proxy password.- Returns:
- the HTTP proxy password or
null
-
builder
Constructs a newMetadataProviderSettings.HttpProxySettings.Builder
with no settings.- Returns:
- the
MetadataProviderSettings.HttpProxySettings.Builder
-
withSettings
public static MetadataProviderSettings.HttpProxySettings.Builder withSettings(Map<String, Object> settings) Constructs a newMetadataProviderSettings.HttpProxySettings.Builder
with the provided settings.- Parameters:
settings
- the settings to initialize the builder- Returns:
- the builder
-