@ Bean @ Scope ( BeanDefinition . SCOPE_SINGLETON ) @ ConditionalOnMissingBean ( AADAuthenticationFilter . class ) public AADAuthenticationFilter azureADJwtTokenFilter ( ) { LOG . info ( "AzureADJwtTokenFilter Constructor." ) ; return new AADAuthenticationFilter ( aadAuthProps , serviceEndpointsProps , getJWTResourceRetriever ( ) ) ; }
Declare AADAuthenticationFilter bean .