File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
docs/modules/ROOT/pages/migration/servlet Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ authenticationFilter.setAuthenticationFailureHandler(handler);
22
22
.Kotlin
23
23
[source,kotlin,role="secondary"]
24
24
----
25
- val authenticationFilter: AuthenticationFilter = new AuthenticationFilter(...)
26
- val handler: AuthenticationEntryPointFailureHandler = new AuthenticationEntryPointFailureHandler(...)
25
+ val authenticationFilter: AuthenticationFilter = AuthenticationFilter(...)
26
+ val handler: AuthenticationEntryPointFailureHandler = AuthenticationEntryPointFailureHandler(...)
27
27
handler.setRethrowAuthenticationServiceException(true)
28
28
authenticationFilter.setAuthenticationFailureHandler(handler)
29
29
----
@@ -56,8 +56,8 @@ authenticationFilter.setAuthenticationFailureHandler(handler);
56
56
.Kotlin
57
57
[source,kotlin,role="secondary"]
58
58
----
59
- val authenticationFilter: AuthenticationFilter = new AuthenticationFilter(...)
60
- val handler: AuthenticationEntryPointFailureHandler = new AuthenticationEntryPointFailureHandler(...)
59
+ val authenticationFilter: AuthenticationFilter = AuthenticationFilter(...)
60
+ val handler: AuthenticationEntryPointFailureHandler = AuthenticationEntryPointFailureHandler(...)
61
61
authenticationFilter.setAuthenticationFailureHandler(handler)
62
62
----
63
63
You can’t perform that action at this time.
0 commit comments