@Bean
    public AuthenticationEventExecutionPlanConfigurer casDefaultAuthenticationEventExecutionPlanConfigurer() {
        return plan -> {
            val handler = new SimpleTestUsernamePasswordAuthenticationHandler();
            plan.registerAuthenticationHandlerWithPrincipalResolver(handler, defaultPrincipalResolver);
        };
    }
This is {@link CasAuthenticationEventExecutionPlanTestConfiguration}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core/src/test/java/org/apereo/cas/config/CasAuthenticationEventExecutionPlanTestConfiguration.java