Closed
Description
Some Security AOT hints depend on infrastructural beans like AuthorizationProxyFactory
to function. As such, it would be nice to have an API that is a little simpler for applications to implement than BeanFactoryInitializationAotProcessor
, for example:
public interface SecurityHintsRegistrar {
void registerHints(RuntimeHints hints, ConfigurableListableBeanFactory beanFactory);
}
Beans that implement this interface would be able to depend on Security infrastructural beans.