[MINOR] generic auth support with groups and encrypted passwords
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Fri, 29 Jan 2010 16:50:44 +0000 (17:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 31 Jan 2010 18:14:07 +0000 (19:14 +0100)
commit961050465e2a54cfabd7a59aff1a805c9b264dd0
treefd54c47c7f3aaa9c3fb721b1912ac06da484a46e
parentfccbdc8421e195b7f0a94db1797a3a950af10d54
[MINOR] generic auth support with groups and encrypted passwords

Add generic authentication & authorization support.

Groups are implemented as bitmaps so the count is limited to
sizeof(int)*8 == 32.

Encrypted passwords are supported with libcrypt and crypt(3), so it is
possible to use any method supported by your system. For example modern
Linux/glibc instalations support MD5/SHA-256/SHA-512 and of course classic,
DES-based encryption.
Makefile
include/common/cfgparse.h
include/common/uri_auth.h
include/proto/auth.h [new file with mode: 0644]
include/types/auth.h [new file with mode: 0644]
src/auth.c [new file with mode: 0644]
src/cfgparse.c
src/haproxy.c