Class UndertowSSLConfiguration


  • @Configuration
    @ConditionalOnBean(org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory.class)
    @ConditionalOnClass(io.undertow.UndertowOptions.class)
    @ConditionalOnProperty({"server.ssl.ciphers","server.ssl.key-store"})
    public class UndertowSSLConfiguration
    extends Object
    SSL configuration for Undertow.

    SSL_USER_CIPHER_SUITES_ORDER : It will force the cipher suite defined by the user, allowing to achieve perfect forward secrecy. This can only be activated with HTTPS and a cipher suite defined by the user (server.ssl.ciphers).

    Please note that when using JHipster, you can use the `server.ssl.ciphers` property that is available in your `application-tls.yml` file, and which is ready to work with this configuration.

    See Also:
    More explanation on perfect forward secrecy
    • Constructor Detail

      • UndertowSSLConfiguration

        public UndertowSSLConfiguration​(org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory undertowServletWebServerFactory)

        Constructor for UndertowSSLConfiguration.

        Parameters:
        undertowServletWebServerFactory - a UndertowServletWebServerFactory object.