@Override
    public void handlePasswordWarning(final AuthenticationResponse passwordWarning) {
        try {
            if (passwordPolicyHandlingStrategy.supports(passwordWarning)) {
                warnings = passwordPolicyHandlingStrategy.handle(passwordWarning, passwordPolicyConfiguration);
            }
        } catch (final Throwable e) {
            LoggingUtils.error(LOGGER, e);
        }
        handleUnknown(passwordWarning);
    }
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