Interface SecurityConfig
-
@Immutable @Modifiable public interface SecurityConfig
Configuration properties for externally secure settings of externally visible services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
check()
java.util.Map<java.lang.String,java.lang.Object>
getAdditionalResponseHeaders()
Additional headers to add to all responses, e.g., Content-Security-Policy.boolean
getHttpsOnly()
EnableHttpsOnlyService
.
-
-
-
Method Detail
-
getHttpsOnly
boolean getHttpsOnly()
EnableHttpsOnlyService
. This will cause insecure requests to be redirected and response headers to be popultaed.
-
getAdditionalResponseHeaders
java.util.Map<java.lang.String,java.lang.Object> getAdditionalResponseHeaders()
Additional headers to add to all responses, e.g., Content-Security-Policy.
-
check
@Check default void check()
-
-