Class EndpointSettings
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
se.swedenconnect.spring.saml.idp.settings.EndpointSettings
- All Implemented Interfaces:
Serializable
Settings for the IdP endpoints.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
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
Modifier and TypeFieldDescriptionstatic final String
The endpoint where the Identity Provider receives authentication requests via HTTP POST where Holder-of-key (HoK) is used.static final String
The endpoint where the Identity Provider receives authentication requests via HTTP redirect where Holder-of-key (HoK) is used.static final String
The endpoint where the Identity Provider publishes its SAML metadata.static final String
Default for theSAML_METADATA_PUBLISH_ENDPOINT
setting.static final String
The endpoint where the Identity Provider receives authentication requests via HTTP POST.static final String
Default for theSAML_POST_AUTHN_ENDPOINT
.static final String
The endpoint where the Identity Provider receives authentication requests via HTTP redirect.static final String
Default for theSAML_REDIRECT_AUTHN_ENDPOINT
. -
Method Summary
Modifier and TypeMethodDescriptionstatic EndpointSettings.Builder
builder()
Constructs a newEndpointSettings.Builder
with no settings.Gets the endpoint where the Identity Provider receives authentication requests via HTTP POST where Holder-of-key (HoK) is used.Gets the endpoint where the Identity Provider receives authentication requests via HTTP redirect where Holder-of-key (HoK) is used.Gets the SAML metadata publishing endpoint.Gets the endpoint where the Identity Provider receives authentication requests via HTTP POST.Gets the endpoint where the Identity Provider receives authentication requests via HTTP redirect.static EndpointSettings.Builder
withSettings
(Map<String, Object> settings) Constructs a newEndpointSettings.Builder
with the provided settings.Methods inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings
equals, getSetting, getSettings, hashCode, toString
-
Field Details
-
SAML_REDIRECT_AUTHN_ENDPOINT_DEFAULT
Default for theSAML_REDIRECT_AUTHN_ENDPOINT
.- See Also:
-
SAML_REDIRECT_AUTHN_ENDPOINT
The endpoint where the Identity Provider receives authentication requests via HTTP redirect.- See Also:
-
SAML_POST_AUTHN_ENDPOINT_DEFAULT
Default for theSAML_POST_AUTHN_ENDPOINT
.- See Also:
-
SAML_POST_AUTHN_ENDPOINT
The endpoint where the Identity Provider receives authentication requests via HTTP POST.- See Also:
-
SAML_HOK_REDIRECT_AUTHN_ENDPOINT
The endpoint where the Identity Provider receives authentication requests via HTTP redirect where Holder-of-key (HoK) is used.- See Also:
-
SAML_HOK_POST_AUTHN_ENDPOINT
The endpoint where the Identity Provider receives authentication requests via HTTP POST where Holder-of-key (HoK) is used.- See Also:
-
SAML_METADATA_PUBLISH_ENDPOINT_DEFAULT
Default for theSAML_METADATA_PUBLISH_ENDPOINT
setting.- See Also:
-
SAML_METADATA_PUBLISH_ENDPOINT
The endpoint where the Identity Provider publishes its SAML metadata.- See Also:
-
-
Method Details
-
getRedirectAuthnEndpoint
Gets the endpoint where the Identity Provider receives authentication requests via HTTP redirect.- Returns:
- the redirect authentication endpoint
-
getPostAuthnEndpoint
Gets the endpoint where the Identity Provider receives authentication requests via HTTP POST.- Returns:
- the POST authentication endpoint
-
getHokRedirectAuthnEndpoint
Gets the endpoint where the Identity Provider receives authentication requests via HTTP redirect where Holder-of-key (HoK) is used.- Returns:
- the HoK redirect authentication endpoint
-
getHokPostAuthnEndpoint
Gets the endpoint where the Identity Provider receives authentication requests via HTTP POST where Holder-of-key (HoK) is used.- Returns:
- the HoK POST authentication endpoint
-
getMetadataEndpoint
Gets the SAML metadata publishing endpoint.- Returns:
- the endpoint
-
builder
Constructs a newEndpointSettings.Builder
with no settings.- Returns:
- the
EndpointSettings.Builder
-
withSettings
Constructs a newEndpointSettings.Builder
with the provided settings.- Parameters:
settings
- the settings to initialize the builder- Returns:
- the builder
-