@Bean
        @ConditionalOnMissingBean(name = PrincipalResolver.BEAN_NAME_ATTRIBUTE_REPOSITORY)
        public PersonAttributeDao attributeRepository() {
            return new StubPersonAttributeDao();
        }
This is {@link JaasAuthenticationHandlersConfigurationTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/handler/support/JaasAuthenticationHandlersConfigurationTests.java