Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
const val PROBLEMS: String

How the body of CoSec's refusals is written (CoSecProperties.problems).

Functions

Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["cosec.enabled"], havingValue = "true", matchIfMissing = true)
fun wowCoSecRequestIds(): BeanPostProcessor

Adds CoSec-Request-Id, the request id of a command without Wow-Request-Id (CoSecRequestIds), and the codes CoSec answers before any route, 429 and 503 (CoSecFilterCodes), which the OpenAPI document lists on every operation, to the edge's options, whoever defines them, while CoSec is on (cosec.enabled, true unless set).