Class MetadataSettings.ContactPersonSettings
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
se.swedenconnect.spring.saml.idp.settings.MetadataSettings.ContactPersonSettings
- All Implemented Interfaces:
Serializable
- Enclosing class:
MetadataSettings
Configuration for ContactPerson metadata element.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder forMetadataSettings.OrganizationSettings
.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
ContactPersonSettings
(Map<String, Object> settings) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Constructs a newMetadataSettings.ContactPersonSettings.Builder
with no settings.Gets theCompany
element.Gets theEmailAddress
elements.Gets theGivenName
element.Gets theSurName
element.Gets theTelephoneNumber
elements.withSettings
(Map<String, Object> settings) Constructs a newMetadataSettings.ContactPersonSettings.Builder
with the provided settings.Methods inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings
equals, getSetting, getSettings, hashCode, toString
-
Field Details
-
COMPANY
TheCompany
element. AString
.- See Also:
-
GIVEN_NAME
TheGivenName
element. AString
.- See Also:
-
SURNAME
TheSurName
element. AString
.- See Also:
-
EMAIL_ADDRESSES
- See Also:
-
TELEPHONE_NUMBERS
- See Also:
-
-
Constructor Details
-
ContactPersonSettings
Constructor.- Parameters:
settings
- the settings
-
-
Method Details
-
getCompany
Gets theCompany
element.- Returns:
- the
Company
-
getGivenName
Gets theGivenName
element.- Returns:
- the
GivenName
-
getSurname
Gets theSurName
element.- Returns:
- the
SurName
-
getEmailAddresses
Gets theEmailAddress
elements.- Returns:
- a list of the
EmailAddress
-
getTelephoneNumbers
Gets theTelephoneNumber
elements.- Returns:
- a list of the
TelephoneNumber
s
-
builder
Constructs a newMetadataSettings.ContactPersonSettings.Builder
with no settings.- Returns:
- the
MetadataSettings.ContactPersonSettings.Builder
-
withSettings
public static MetadataSettings.ContactPersonSettings.Builder withSettings(Map<String, Object> settings) Constructs a newMetadataSettings.ContactPersonSettings.Builder
with the provided settings.- Parameters:
settings
- the settings to initialize the builder- Returns:
- the builder
-