@Override
    public void handleUnauthenticated(final AuthenticationResponse unauthenticatedResponse) {
        failureException = new FailedLoginException(unauthenticatedResponse.getStatusString());
    }
This is {@link OktaAuthenticationStateHandlerAdapter}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-okta-authentication/src/main/java/org/apereo/cas/okta/OktaAuthenticationStateHandlerAdapter.java