Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
1.20.0.Final
-
None
Description
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.
Attachments
Issue Links
- causes
-
WFLY-16736 RealmFailedAuthenticationEvent triggered during successful http programmatic login
- Open