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 support #14 #16

Merged
merged 4 commits into from Sep 25, 2017

Conversation

kenrestivo-stem
Copy link
Contributor

Add LDAP auth support.

Tested here, appears to work.

@codecov-io
Copy link

codecov-io commented Sep 10, 2017

Codecov Report

Merging #16 into develop will decrease coverage by 0.29%.
The diff coverage is 10%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #16     +/-   ##
==========================================
- Coverage    25.24%   24.95%   -0.3%     
==========================================
  Files            6        6             
  Lines          511      521     +10     
  Branches        15       15             
==========================================
+ Hits           129      130      +1     
- Misses         367      376      +9     
  Partials        15       15
Impacted Files Coverage Δ
src/vault/core.clj 75% <ø> (ø) ⬆️
src/vault/client/http.clj 12.36% <10%> (-0.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c90dcc7...18228d9. Read the comment docs.

Copy link
Collaborator

@greglook greglook left a comment

Choose a reason for hiding this comment

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

Looks good, one minor change.

[client credentials]
(let [{:keys [username password]} credentials]
(api-auth!
(str "user " username)
Copy link
Collaborator

Choose a reason for hiding this comment

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

The string here should be "ldap " to distinguish this from the username/password auth method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@greglook greglook merged commit 28caf7d into amperity:develop Sep 25, 2017
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.

None yet

3 participants