Class CorsConfigurator

    • Constructor Detail

      • CorsConfigurator

        public CorsConfigurator()
    • Method Detail

      • configure

        public void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity)
        Specified by:
        configure in interface Configurator
      • getCorsMapping

        protected List<String> getCorsMapping()
      • getCorsAllowedOrigins

        protected List<String> getCorsAllowedOrigins()
      • getCorsAllowedMethods

        protected List<String> getCorsAllowedMethods()
      • getCorsAllowedHeaders

        protected List<String> getCorsAllowedHeaders()
      • getCorsExposedHeaders

        protected List<String> getCorsExposedHeaders()
      • isCorsAllowCredentials

        protected boolean isCorsAllowCredentials()
      • getCorsMaxAge

        protected int getCorsMaxAge()
      • isCorsEnable

        public boolean isCorsEnable()
      • getCorsFilter

        protected CorsFilter getCorsFilter()