Skip to content

AuthenticationFailureEvent does not exist #10062

@dmitrilc

Description

@dmitrilc

Describe the bug
The Spring Security doc, section 10.21 and 12.3.26 references AuthenticationFailureEvent, but it does not exist.

Looks like the class to be injected is AbstractAuthenticationFailureEvent instead.

The side-by-side Kotlin code example uses the correct AbstractAuthenticationFailureEvent class, while the Java version, throughout the doc, references the non-existent AuthenticationFailureEvent several times.

A. https://github.com/spring-projects/spring-security/blob/006b9b960797d279b31cf8c8d16f1549c5632b2c/docs/manual/src/docs/asciidoc/_includes/servlet/authentication/events.adoc

B. https://github.com/spring-projects/spring-security/blob/e30b45c6fbf99ccef774b40fa0aad57a97df41b0/docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc

To Reproduce
Go to https://docs.spring.io/spring-security/site/docs/current/reference/html5/#servlet-events

Expected behavior
The doc should mention AbstractAuthenticationFailureEvent instead.

Metadata

Metadata

Assignees

Labels

in: docsAn issue in Documentation or samplesstatus: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions