Skip to content

Add API for Registering Security Hints #15772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jzheaux opened this issue Sep 9, 2024 · 0 comments
Closed

Add API for Registering Security Hints #15772

jzheaux opened this issue Sep 9, 2024 · 0 comments
Assignees
Labels
in: core An issue in spring-security-core type: enhancement A general enhancement
Milestone

Comments

@jzheaux
Copy link
Contributor

jzheaux commented Sep 9, 2024

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.

@jzheaux jzheaux added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Sep 9, 2024
@jzheaux jzheaux self-assigned this Sep 9, 2024
@jzheaux jzheaux added in: core An issue in spring-security-core and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 9, 2024
@jzheaux jzheaux added this to the 6.4.0-M4 milestone Sep 9, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Sep 9, 2024
An interface for registering hints based on Security infrastructure
beans.

Closes spring-projectsgh-15772
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core An issue in spring-security-core type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant