Saml2Dsl
A Kotlin DSL to configure HttpSecurity SAML2 login using idiomatic Kotlin code.
Author
Eleftheria Stein
Since
5.3
Properties
the AuthenticationFailureHandler used after authentication success
the AuthenticationManager to be used during SAML 2 authentication.
the AuthenticationSuccessHandler used after authentication success
the URL to send users if authentication fails
the URL to validate the credentials
whether to grant access to the urls for failureUrl as well as for the HttpSecurityBuilder, the loginPage and loginProcessingUrl for every user
the RelyingPartyRegistrationRepository of relying parties, each party representing a service provider, SP and this host, and identity provider, IDP pair that communicate with each other.
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.