-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
RBAC: Support Active Directory #54
Comments
the last part might be fixed pretty soon in spring-projects/spring-security#14539, so we might want to put this on hold. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
There was spring security 6.3.3 released |
@Haarolean Hi, do I understand correctly that to support RBAC for AD you need to add an implementation of the If yes, I am ready to work on this task. |
@wernerdv not quite. Since we've already upgraded to a newer spring boot/security with the Can anyone with AD verify this works on |
@Haarolean I've tested with this configuration and RBAC with AD works as expected:
But it only works if rbac.roles.name is group from AD. And one more thing - you can do without |
that's... not intended. Let's fix this within #716.
What makes you think so? In RbacLdapAuthoritiesExtractor.java#L41 we match RBAC subjects with your AD groups and collect RBAC roles if there's a match. |
It seems you need to handle the filtering for |
@wernerdv yeah I was wondering the same, how could it work for you |
LdapSecurityConfig:
ActiveDirectoryLdapAuthenticationProvider
does populate authorities properly (most likely, it doesn't)ActiveDirectoryLdapAuthenticationProvider
and (re)implement a populator (unless #4490 is resolved)
via provectus/kafka-ui#3741
The text was updated successfully, but these errors were encountered: