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 service #305

Merged
merged 2 commits into from
Mar 7, 2018
Merged

Add ldap service #305

merged 2 commits into from
Mar 7, 2018

Conversation

hwbllmnn
Copy link
Member

@hwbllmnn hwbllmnn commented Mar 7, 2018

Adds a simple ldap service that can authenticate users against an ldap. It can also extract roles/groups from ldap.

@terrestris/devs please review

while(ous.hasMore()) {
result.add((String)ous.next());
}
return "";
Copy link
Member

Choose a reason for hiding this comment

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

hmm??

Copy link
Member Author

Choose a reason for hiding this comment

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

I added a comment explaining why an empty string is returned here.

@hwbllmnn hwbllmnn merged commit 253bba4 into terrestris:master Mar 7, 2018
@hwbllmnn hwbllmnn deleted the add-ldap-service branch March 7, 2018 14:18
Copy link
Member

@marcjansen marcjansen left a comment

Choose a reason for hiding this comment

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

I think you also got the feedback from @dnlkoch, right?

I really like this.

}

/**
*Authenticate against ldap.
Copy link
Member

Choose a reason for hiding this comment

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

Missing a space.

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