FormLoginDsl
A Kotlin DSL to configure HttpSecurity form login using idiomatic Kotlin code.
Author
Eleftheria Stein
Since
5.3
Properties
the AuthenticationFailureHandler used after authentication failure
the AuthenticationSuccessHandler used after authentication success
the URL to send users if authentication fails
the URL to validate the credentials
the HTTP parameter to look for the password when performing authentication
whether to grant access to the urls for failureUrl as well as for the HttpSecurityBuilder, the loginPage and loginProcessingUrl for every user
the HTTP parameter to look for the username when performing authentication
Functions
Specifies where users will be redirected after authenticating successfully if they have not visited a secured page prior to authenticating or alwaysUse is true.
Grants access to the urls for failureUrl as well as for the HttpSecurityBuilder, the loginPage and loginProcessingUrl for every user.