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>.
>