ServerAnonymousDsl

A Kotlin DSL to configure ServerHttpSecurity anonymous authentication using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.4

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var authenticationFilter: AnonymousAuthenticationWebFilter?

the AnonymousAuthenticationWebFilter used to populate an anonymous user.

Link copied to clipboard
var authorities: List<GrantedAuthority>?

the Authentication.getAuthorities for anonymous users

Link copied to clipboard
var key: String?

the key to identify tokens created for anonymous authentication

Link copied to clipboard

the principal for Authentication objects of anonymous users

Functions

Link copied to clipboard
fun disable()

Disables anonymous authentication