@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 .