Patch Auth to support LDAP Authentication #77

Open
wants to merge 2 commits into
from

1 participant

@mlite

No description provided.

mlite added some commits Jan 14, 2013
@mlite mlite 1. Add authenticate into IAuthBackend to support the authentication t…
…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.
9e56a41
@mlite mlite Add the build dependency for Ldap Auth backend. e75fa02
@mightybyte mightybyte commented on the diff Feb 18, 2013
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
@mightybyte
Snap Framework member
mightybyte added a line comment Feb 18, 2013

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

@gregorycollins
Snap Framework member
gregorycollins added a line comment Feb 19, 2013

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.

@mlite
mlite added a line comment Feb 20, 2013
@ocharles
ocharles added a line comment Feb 22, 2013

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

@ozataman
Snap Framework member
ozataman added a line comment Feb 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment