protected UsernamePasswordCredential getCredentialFromWebflow(final RequestContext requestContext) {
        val attributes = requestContext.getCurrentEvent().getAttributes();
        if (!attributes.isEmpty() && attributes.contains(Credential.class.getName())) {
            return attributes.get(Credential.class.getName(), UsernamePasswordCredential.class);
        }
        return requestContext.getConversationScope().get(Credential.class.getName(), UsernamePasswordCredential.class);
    }
This is {@link InitPasswordChangeAction}, serves a as placeholder for extensions.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-pm-webflow/src/main/java/org/apereo/cas/pm/web/flow/actions/InitPasswordChangeAction.java