Class EndpointSettings

java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
se.swedenconnect.spring.saml.idp.settings.EndpointSettings
All Implemented Interfaces:
Serializable

public class EndpointSettings extends AbstractSettings
Settings for the IdP endpoints.
Author:
Martin Lindström
See Also:
  • Field Details

    • SAML_REDIRECT_AUTHN_ENDPOINT_DEFAULT

      public static final String SAML_REDIRECT_AUTHN_ENDPOINT_DEFAULT
      See Also:
    • SAML_REDIRECT_AUTHN_ENDPOINT

      public static final String SAML_REDIRECT_AUTHN_ENDPOINT
      The endpoint where the Identity Provider receives authentication requests via HTTP redirect.
      See Also:
    • SAML_POST_AUTHN_ENDPOINT_DEFAULT

      public static final String SAML_POST_AUTHN_ENDPOINT_DEFAULT
      Default for the SAML_POST_AUTHN_ENDPOINT.
      See Also:
    • SAML_POST_AUTHN_ENDPOINT

      public static final String SAML_POST_AUTHN_ENDPOINT
      The endpoint where the Identity Provider receives authentication requests via HTTP POST.
      See Also:
    • SAML_HOK_REDIRECT_AUTHN_ENDPOINT

      public static final String 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

      public static final String 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

      public static final String SAML_METADATA_PUBLISH_ENDPOINT_DEFAULT
      Default for the SAML_METADATA_PUBLISH_ENDPOINT setting.
      See Also:
    • SAML_METADATA_PUBLISH_ENDPOINT

      public static final String SAML_METADATA_PUBLISH_ENDPOINT
      The endpoint where the Identity Provider publishes its SAML metadata.
      See Also:
  • Method Details

    • getRedirectAuthnEndpoint

      public String getRedirectAuthnEndpoint()
      Gets the endpoint where the Identity Provider receives authentication requests via HTTP redirect.
      Returns:
      the redirect authentication endpoint
    • getPostAuthnEndpoint

      public String getPostAuthnEndpoint()
      Gets the endpoint where the Identity Provider receives authentication requests via HTTP POST.
      Returns:
      the POST authentication endpoint
    • getHokRedirectAuthnEndpoint

      public String 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

      public String 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

      public String getMetadataEndpoint()
      Gets the SAML metadata publishing endpoint.
      Returns:
      the endpoint
    • builder

      public static EndpointSettings.Builder builder()
      Constructs a new EndpointSettings.Builder with no settings.
      Returns:
      the EndpointSettings.Builder
    • withSettings

      public static EndpointSettings.Builder withSettings(Map<String,Object> settings)
      Constructs a new EndpointSettings.Builder with the provided settings.
      Parameters:
      settings - the settings to initialize the builder
      Returns:
      the builder