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

Nested groups support for LDAP based authentication #184

Merged
merged 3 commits into from
May 8, 2019

Conversation

mbarto
Copy link
Contributor

@mbarto mbarto commented Apr 30, 2019

No description provided.

…ntication, updated version to 1.4.3-SNAPSHOT
@mbarto mbarto requested review from offtherailz and tdipisa April 30, 2019 10:42
@ghost ghost assigned mbarto Apr 30, 2019
@ghost ghost added the review label Apr 30, 2019
@coveralls
Copy link

coveralls commented Apr 30, 2019

Coverage Status

Coverage increased (+1.04%) to 33.751% when pulling 6cf9468 on mbarto:ldap_nested_groups into ed61515 on geosolutions-it:master.

for (Object authority : ldapAuthorities) {
Authority ldapAuthority = (Authority)authority;
addAuthority(authorities, authorityPrefix, ldapAuthority.getName());
if (hierarchical && level < maxLevelGroupsSearch) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As probable improvement, here could we check also if current ldap group isn't already on Set authorities, for avoiding possible Ldap (bad?) circular references and long recursive calls?

Asking this since I'm checking it on GS side.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's absolutely possible. I will add this additional check. thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the check

@mbarto mbarto merged commit afdfb19 into geosolutions-it:master May 8, 2019
@ghost ghost removed the review label May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants