Closed corneil closed 2 years ago
I moved most of the bean methods into separate static classes that are imported into the original, ensuring that nothing that is needed by OAuthSecurityConfiguration
has to come from a method annotated with @Bean
except for those which don't need external fields and creates everything needed.
ProviderManager
was also changed to required = false
since it is only required when opaqueTokenIntrospector
is present.
Both config classes have the same @ConditionalOnProperty
annotation.
Added application and config test. Assuming the changes on 25th to main resolved the circular dependency.
Cannot reproduce #89