@Override
    public void configureAuthenticationExecutionPlan(final AuthenticationEventExecutionPlan plan) {
        plan.registerAuthenticationHandlerWithPrincipalResolver(new SimpleTestUsernamePasswordAuthenticationHandler(), defaultPrincipalResolver);
    }
This is {@link CasOAuth20AuthenticationEventExecutionPlanTestConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/web/CasOAuth20AuthenticationEventExecutionPlanTestConfiguration.java