ExceptionHandlingDsl
class ExceptionHandlingDsl
A Kotlin DSL to configure HttpSecurity exception handling using idiomatic Kotlin code.
Author
Eleftheria Stein
Since
5.3
Properties
Functions
Link copied to clipboard
fun defaultAccessDeniedHandlerFor(deniedHandler: AccessDeniedHandler, preferredMatcher: RequestMatcher)
Sets a default AccessDeniedHandler to be used which prefers being invoked for the provided RequestMatcher.
Link copied to clipboard
fun defaultAuthenticationEntryPointFor(entryPoint: AuthenticationEntryPoint, preferredMatcher: RequestMatcher)
Sets a default AuthenticationEntryPoint to be used which prefers being invoked for the provided RequestMatcher.