Interface SecurityConfig
-
@Immutable @Modifiable public interface SecurityConfigConfiguration 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 voidcheck()java.util.Map<java.lang.String,java.lang.Object>getAdditionalResponseHeaders()Additional headers to add to all responses, e.g., Content-Security-Policy.booleangetHttpsOnly()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()
-
-