-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
26.1.1.Final
-
None
-
-
---
-
---
After successful authentication during a call to HttpServletRequest.login(username,password) the SecurityRealm receives a
org.wildfly.security.auth.server.event.RealmFailedAuthenticationEvent
This appears to be due to org.wildfly.security.http.HttpAuthenticator.login not calling succeed() on the ServerAuthenticationContext.
adding
authenticationContext.succeed();
to the login method prior to returning the authorizedIdentity appears to fix the problem.
- is caused by
-
ELY-2377 RealmFailedAuthenticationEvent triggered during successful http programmatic login
- Pull Request Sent