ServerOneTimeTokenLoginDsl

A Kotlin DSL to configure ServerHttpSecurity form login using idiomatic Kotlin code.

Author

Max Batischev

Since

6.4

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var authenticationConverter: ServerAuthenticationConverter?

Use this ServerAuthenticationConverter when converting incoming requests to an authentication

Link copied to clipboard
var authenticationFailureHandler: ServerAuthenticationFailureHandler?

the ServerAuthenticationFailureHandler to use when authentication

Link copied to clipboard
var authenticationManager: ReactiveAuthenticationManager?

configures the ReactiveAuthenticationManager used to generate and consume

Link copied to clipboard
var authenticationSuccessHandler: ServerAuthenticationSuccessHandler?

the ServerAuthenticationSuccessHandler to be used

Link copied to clipboard

sets the URL that the default submit page will be generated

Link copied to clipboard
var generateRequestResolver: ServerGenerateOneTimeTokenRequestResolver?

the ServerGenerateOneTimeTokenRequestResolver to be used

Link copied to clipboard

the URL to process the login request

Link copied to clipboard
var securityContextRepository: ServerSecurityContextRepository?

the ServerSecurityContextRepository used to save the Authentication. For the SecurityContext to be loaded on subsequent requests the ReactorContextWebFilter must be configured to be able to load the value (they are not implicitly linked).

Link copied to clipboard

configures whether the default one-time token submit page should be shown

Link copied to clipboard

the URL that a One-Time Token generate request will be processed

Link copied to clipboard
var tokenGenerationSuccessHandler: ServerOneTimeTokenGenerationSuccessHandler?

the strategy to be used to handle generated one-time tokens

Link copied to clipboard
var tokenService: ReactiveOneTimeTokenService?

configures the ReactiveOneTimeTokenService used to generate and consume