AbacConfiguration

@Configuration(proxyBeanMethods = false)
@ConditionalOnClass(name = ["me.ahoo.cosec.webflux.ReactiveSecurityContexts"])
@ConditionalOnProperty(value = ["wow.cosec.abac.enabled"], havingValue = "true")
class AbacConfiguration

The principal's ABAC tags from CoSec (wow.cosec.abac.enabled), where CoSec's WebFlux module puts the principal in the Reactor context and the application declares no AbacQueryPolicy of its own.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean(value = [AbacQueryPolicy::class])
fun coSecAbacQueryPolicy(options: AbacQueryOptions, properties: CoSecProperties): AbacQueryPolicy