Skip to content

Add API for Registering Security Hints #15772

Closed
@jzheaux

Description

@jzheaux

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.

Metadata

Metadata

Assignees

Labels

in: coreAn issue in spring-security-coretype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions