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

Patch Auth to support LDAP Authentication #77

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Patch Auth to support LDAP Authentication #77

wants to merge 2 commits into from

Conversation

mlite
Copy link

@mlite mlite commented Feb 16, 2013

No description provided.

mlite added 2 commits January 13, 2013 21:46
…hat is done remotely.

2. Modify the corresponding code Handlers.hs, AuthManager.hs, and JsonFile.hs to use this new method
3. Add an experimental Ldap Auth backend.
@@ -168,7 +168,8 @@ Library
unordered-containers >= 0.1.4 && < 0.3,
vector >= 0.7.1 && < 0.11,
vector-algorithms >= 0.4 && < 0.6,
xmlhtml >= 0.1 && < 0.3
xmlhtml >= 0.1 && < 0.3,
LDAP >= 0.6.8 && < 0.6.9
Copy link
Member

Choose a reason for hiding this comment

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

Hmmm, I'm not crazy about introducing LDAP as a dependency, especially since it binds to a C API.

Copy link
Member

Choose a reason for hiding this comment

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

Agreed -- is there some way we can make this a third-party downloadable package? The auth mechanism should be extensible, if it isn't we should put some work into that.

Copy link
Author

Choose a reason for hiding this comment

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

IAuthBackend is not general enough to support remote authentication.

I'm ok if the patch only includes:

AuthManager.hs
Backends/JsonFile.hs
Handlers.hs

This patch will not introduce extra dependency.

Thank,
Ning

On 02/19/2013 01:24 AM, Gregory Collins wrote:

In snap.cabal:

@@ -168,7 +168,8 @@ Library
unordered-containers >= 0.1.4 && < 0.3,
vector >= 0.7.1 && < 0.11,
vector-algorithms >= 0.4 && < 0.6,

  • xmlhtml >= 0.1 && < 0.3
  • xmlhtml >= 0.1 && < 0.3,
  • LDAP >= 0.6.8 && < 0.6.9

Agreed -- is there some way we can make this a third-party
downloadable package? The auth mechanism should be extensible, if it
isn't we should put some work into that.


Reply to this email directly or view it on GitHub
https://github.com/snapframework/snap/pull/77/files#r3058889.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to making the necessary changes to snap to allow for a third party LDAP library.

Copy link
Member

Choose a reason for hiding this comment

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

I hope to get around to investigating this soon. Thank you for the patch.

On Friday, February 22, 2013 at 5:00 AM, Oliver Charles wrote:

In snap.cabal:

@@ -168,7 +168,8 @@ Library > unordered-containers >= 0.1.4 && < 0.3, > vector >= 0.7.1 && < 0.11, > vector-algorithms >= 0.4 && < 0.6, > - xmlhtml >= 0.1 && < 0.3 > + xmlhtml >= 0.1 && < 0.3, > + LDAP >= 0.6.8 && < 0.6.9
+1 to making the necessary changes to snap to allow for a third party LDAP library.


Reply to this email directly or view it on GitHub (https://github.com/snapframework/snap/pull/77/files#r3113746).

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.

5 participants