Uses of Class
io.floci.testcontainers.config.SecurityConfig.Builder
Packages that use SecurityConfig.Builder
-
Uses of SecurityConfig.Builder in io.floci.testcontainers
Method parameters in io.floci.testcontainers with type arguments of type SecurityConfig.BuilderModifier and TypeMethodDescriptionFlociContainer.withSecurityConfig(Consumer<SecurityConfig.Builder> configurer) Configures security settings such as CORS allowed origins, headers, and expose headers. -
Uses of SecurityConfig.Builder in io.floci.testcontainers.config
Methods in io.floci.testcontainers.config that return SecurityConfig.BuilderModifier and TypeMethodDescriptionstatic SecurityConfig.BuilderSecurityConfig.builder()Returns a newSecurityConfig.Builderfor this configuration.SecurityConfig.Builder.corsAllowPrivateNetwork(boolean corsAllowPrivateNetwork) Sets whether to grant Private Network Access preflights (respond withAccess-Control-Allow-Private-Network: true) when the browser asks.SecurityConfig.Builder.disableCorsHeaders(boolean disableCorsHeaders) Sets whether CORS headers are disabled.SecurityConfig.Builder.extraCorsAllowedHeaders(String... extraCorsAllowedHeaders) Sets the extra CORS allowed headers.SecurityConfig.Builder.extraCorsAllowedHeaders(List<String> extraCorsAllowedHeaders) Sets the extra CORS allowed headers.SecurityConfig.Builder.extraCorsAllowedOrigins(String... extraCorsAllowedOrigins) Sets the extra CORS allowed origins.SecurityConfig.Builder.extraCorsAllowedOrigins(List<String> extraCorsAllowedOrigins) Sets the extra CORS allowed origins.SecurityConfig.Builder.extraCorsExposeHeaders(String... extraCorsExposeHeaders) Sets the extra CORS expose headers.SecurityConfig.Builder.extraCorsExposeHeaders(List<String> extraCorsExposeHeaders) Sets the extra CORS expose headers.SecurityConfig.toBuilder()Returns a newSecurityConfig.Builderfor this configuration, initialized with the current values of this instance.