Class HttpsExampleApp

java.lang.Object
info.ejava.examples.svc.https.hello.HttpsExampleApp

@SpringBootApplication public class HttpsExampleApp extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.web.SecurityFilterChain
    baseSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     
    jakarta.servlet.Filter
     
    static void
    main(String[] args)
     
    private org.apache.catalina.connector.Connector
     
    org.springframework.boot.web.servlet.server.ServletWebServerFactory
    The following set of re-direct snippets are from http://zetcode.com/springboot/https/[Spring Boot HTTPS example]

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HttpsExampleApp

      public HttpsExampleApp()
  • Method Details

    • main

      public static void main(String[] args)
    • logFilter

      @Bean public jakarta.servlet.Filter logFilter()
    • baseSecurityFilterChain

      @Bean @Order(0) public org.springframework.security.web.SecurityFilterChain baseSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception
    • servletContainer

      @Bean @Profile("redirect") public org.springframework.boot.web.servlet.server.ServletWebServerFactory servletContainer()
      The following set of re-direct snippets are from http://zetcode.com/springboot/https/[Spring Boot HTTPS example]
    • redirectConnector

      private org.apache.catalina.connector.Connector redirectConnector()