summaryrefslogtreecommitdiff
path: root/src/ne_auth.h
Commit message (Collapse)AuthorAgeFilesLines
* * src/ne_auth.h: Add NE_AUTH_GSSAPI_ONLY, NE_AUTH_SSPI.joe2012-06-261-1/+12
| | | | | | | | | | * src/ne_auth.c: Adjust for new constants. (auth_register): Map NE_AUTH_GSSAPI to _GSSAPI_ONLY|_SSPI Patch by Nathanael Rensen <nathanael.rensen zettaserve.com> git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1887 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Split NE_AUTH_NEGOTIATE into NE_AUTH_GSSAPI and NE_AUTH_NTLM:joe2009-09-011-4/+20
| | | | | | | | | | * src/ne_auth.h (NE_AUTH_GSSAPI, NE_AUTH_NTLM): New constants. * src/ne_auth.c (auth_register): Map NE_AUTH_NEGOTIATE into NE_AUTH_GSSAPI | NE_AUTH_NTLM. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1700 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_auth.h (NE_AUTH_ALL, NE_AUTH_DEFAULT): Add new protocoljoe2007-12-051-3/+6
| | | | | | | | | | | | | | | codes. * src/ne_auth.c (auth_register): Interpret NE_AUTH_ALL and NE_AUTH_DEFAULT. (auth_register_default): Remove function. (ne_set_server_auth, ne_set_proxy_auth): Re-implement using auth_register. * test/auth.c (defaults): New test case. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1292 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Allow control over which auth protocols are used:joe2006-02-111-6/+56
| | | | | | | | | | | | | | | | | | | | | | | * src/ne_auth.h (ne_add_server_auth, ne_add_proxy_auth): New prototypes. * src/ne_auth.c (struct auth_handler): New structure. (auth_challenge): Store a pointer to a handler. (auth_session): Store a list of handlers. (auth_protocol): Make id type 'unsigned'. (get_credentials): Take challenge argument. (basic_challenge, digest): Pass challenge structure to get_credentials. (auth_register): Take protocol mask; allow multiple calls per session. Append a handler to list registered for the session. Only initialize GSSAPI fields if Negotiate is allowed. (auth_register_default): New function. (auth_challenge): Iterate through the session's handler list for each challenge; store a pointer to the handler in the challenge. (ne_set_server_auth, ne_set_proxy_auth): Use auth_register_default. (ne_add_server_auth, ne_add_proxy_auth): New functions. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@880 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_auth.h: Move hint on using attempt as return value.joe2006-02-111-6/+7
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@878 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/: In all files, s/BEGIN_NEON_DECLS/NE_BEGIN_DECLS/g andjoe2005-10-091-2/+2
| | | | | | | s/END_NEON_DECLS/NE_END_DECLS/g. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@733 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Import neon 0.24.0 to begin 0.24.x branch.joe2004-10-021-0/+62
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.24.x@243 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845