azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AADAuthenticationFilterAutoConfiguration.java
@Bean
    @Scope(BeanDefinition.SCOPE_SINGLETON)
    @ConditionalOnMissingBean(AADAuthenticationFilter.class)
    public AADAuthenticationFilter azureADJwtTokenFilter() {
        LOG.info("AzureADJwtTokenFilter Constructor.");
        return new AADAuthenticationFilter(aadAuthProps, serviceEndpointsProps, getJWTResourceRetriever());
    }
@Bean
    @Scope(BeanDefinition.SCOPE_SINGLETON)
    @ConditionalOnMissingBean(AADAuthenticationFilter.class)
    public AADAuthenticationFilter azureADJwtTokenFilter() {
        LOG.info("AzureADJwtTokenFilter Constructor.");
        return new AADAuthenticationFilter(aadAuthProps, serviceEndpointsProps, getJWTResourceRetriever());
    }
@ Bean @ Scope ( BeanDefinition . SCOPE_SINGLETON ) @ ConditionalOnMissingBean ( AADAuthenticationFilter . class ) public AADAuthenticationFilter azureADJwtTokenFilter ( ) { LOG . info ( "AzureADJwtTokenFilter Constructor." ) ; return new AADAuthenticationFilter ( aadAuthProps , serviceEndpointsProps , getJWTResourceRetriever ( ) ) ; }
Declare AADAuthenticationFilter bean.

@return AADAuthenticationFilter bean
Declare AADAuthenticationFilter bean .