Skip to content
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

Add LDAP runtime hints #11438

Closed
marcusdacoregio opened this issue Jun 24, 2022 · 0 comments
Closed

Add LDAP runtime hints #11438

marcusdacoregio opened this issue Jun 24, 2022 · 0 comments
Assignees
Labels
in: ldap An issue in spring-security-ldap type: enhancement A general enhancement
Milestone

Comments

@marcusdacoregio
Copy link
Contributor

We have to add native hints in order to make spring-security-ldap work in native applications. It would look something like this.

@NativeHint(trigger = LdapUserDetails.class,
        types = @TypeHint(typeNames = "com.sun.jndi.ldap.LdapCtxFactory"),
        resources = @ResourceHint(patterns = ".*.ldif")
)
public class LdapSecurityHints implements NativeConfiguration {
}
@marcusdacoregio marcusdacoregio added in: ldap An issue in spring-security-ldap type: bug A general bug labels Jun 24, 2022
@marcusdacoregio marcusdacoregio added this to the 6.0.0-M6 milestone Jun 24, 2022
@marcusdacoregio marcusdacoregio self-assigned this Jun 24, 2022
@marcusdacoregio marcusdacoregio changed the title Add LDAP native hints Add LDAP runtime hints Jun 24, 2022
marcusdacoregio added a commit to marcusdacoregio/spring-security that referenced this issue Jun 27, 2022
@marcusdacoregio marcusdacoregio added type: enhancement A general enhancement and removed type: bug A general bug labels Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: ldap An issue in spring-security-ldap type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant