protected String getPasswordResetUsername(final RequestContext requestContext) {
        val token = PasswordManagementWebflowUtils.getPasswordResetToken(requestContext);
        if (StringUtils.isNotBlank(token)) {
            return passwordManagementService.parseToken(token);
        }
        val request = PasswordManagementWebflowUtils.getPasswordResetRequest(requestContext);
        return request != null ? request.getUsername() : null;
    }
This is {@link InitPasswordResetAction}, 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/InitPasswordResetAction.java