SecurityPropertiesConfig

@ConfigurationProperties(prefix = "security")
data class SecurityPropertiesConfig(val bans: SecurityPropertiesConfig.Bans = Bans(), val http: SecurityPropertiesConfig.Http = Http(), val crypto: SecurityPropertiesConfig.Encryption = Encryption(), val encryption: SecurityPropertiesConfig.Encryption? = null)

Constructors

Link copied to clipboard
constructor(bans: SecurityPropertiesConfig.Bans = Bans(), http: SecurityPropertiesConfig.Http = Http(), crypto: SecurityPropertiesConfig.Encryption = Encryption(), encryption: SecurityPropertiesConfig.Encryption? = null)

Types

Link copied to clipboard
data class Bans(val enabled: Boolean = true, val denylist: List<String> = emptyList())
Link copied to clipboard
Link copied to clipboard
data class Http(val blockResponseCode: Int = 404)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard