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 ClassesNested 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
FieldsModifier and TypeFieldDescriptionstatic final StringThe endpoint where the Identity Provider receives authentication requests via HTTP POST where Holder-of-key (HoK) is used.static final StringThe endpoint where the Identity Provider receives authentication requests via HTTP redirect where Holder-of-key (HoK) is used.static final StringThe endpoint where the Identity Provider publishes its SAML metadata.static final StringDefault for theSAML_METADATA_PUBLISH_ENDPOINTsetting.static final StringThe endpoint where the Identity Provider receives authentication requests via HTTP POST.static final StringDefault for theSAML_POST_AUTHN_ENDPOINT.static final StringThe endpoint where the Identity Provider receives authentication requests via HTTP redirect.static final StringDefault for theSAML_REDIRECT_AUTHN_ENDPOINT. -
Method Summary
Modifier and TypeMethodDescriptionstatic EndpointSettings.Builderbuilder()Constructs a newEndpointSettings.Builderwith 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.BuilderwithSettings(Map<String, Object> settings) Constructs a newEndpointSettings.Builderwith 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_ENDPOINTsetting.- 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.Builderwith no settings.- Returns:
- the
EndpointSettings.Builder
-
withSettings
Constructs a newEndpointSettings.Builderwith the provided settings.- Parameters:
settings- the settings to initialize the builder- Returns:
- the builder
-