Graham Leggett
e6a3d2ecf1
Avoid unnecessariy initialisation before we test auth_form handler names.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1024456 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 23:02:06 +00:00
Stefan Fritsch
f1f6c850eb
- add some trace logging
...
- move comment to correct location
- redirect temporarily instead of permanently to avoid potential problems
with browser caches
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@963860 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 20:57:13 +00:00
Stefan Fritsch
e0e27b9a55
Fix segfault
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@961004 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 20:11:30 +00:00
Stefan Fritsch
eedf130332
Introduce note_auth_failure hook to allow modules to add support
...
for additional auth types. This makes ap_note_auth_failure() work with
mod_auth_digest again.
PR: 48807
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960399 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:16:53 +00:00
Stefan Fritsch
ebb62867fb
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
...
advantage of per-module loglevels
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 16:59:50 +00:00
Graham Leggett
1ec926810c
mod_auth_form: Fix a pool lifetime issue, don't remove the subrequest
...
until the main request is cleaned up.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@731000 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 14:59:18 +00:00
Graham Leggett
84e0e4f48d
mod_auth_form: Make sure that basic authentication is correctly
...
faked directly after login.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@690506 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 13:48:47 +00:00
Graham Leggett
2af7a38d72
Remove trailing spaces (on the insistence of Eclipse).
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@690505 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 13:47:05 +00:00
Graham Leggett
0529fe2737
mod_auth_form: Make sure the logged in user is populated correctly
...
after a form login. Fixes a missing REMOTE_USER variable directly
following a login.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@690493 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 11:11:21 +00:00
William A. Rowe Jr
11492551fa
If we are submitting 2GB login forms, there is a very serious,
...
serious problem. The len and form_size of size_t should be
adaquate, clean up the rest of the size/off mismatches.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664230 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 01:10:50 +00:00
Chris Darroch
9864958fcd
Convert common provider version strings ("0") to
...
AUTHN/Z_PROVIDER_VERSION macros defined in mod_auth.h.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@658046 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 23:53:05 +00:00
Graham Leggett
4e084cccd6
Make sure the optional function calls are used for ap_session_set and
...
ap_session_get. [Brad Nicholes]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@655205 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 22:57:36 +00:00
Roy T. Fielding
45e2cb08b4
fix uninitialized variable
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@655017 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 06:44:44 +00:00
Graham Leggett
00db8a73d2
mod_auth_form: Make sure the input filter stack is properly set
...
up before reading the login form. Make sure the kept body filter
is correctly inserted to ensure the body can be read a second
time safely should the authn be successful. [Graham Leggett,
Ruediger Pluem]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@654958 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 22:15:37 +00:00
Graham Leggett
d5c7f53e1e
Remove C++ style comments.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@652683 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 21:59:13 +00:00
Graham Leggett
23ff756ed4
Ensure that the REMOTE_USER variable is correctly written when the user
...
has been authenticated from a session.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649113 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 14:03:14 +00:00
Graham Leggett
e1cb99ff36
Fix the optional declarations so that the modules will build clean in
...
a mod_so environment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649109 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 13:59:51 +00:00
Graham Leggett
b613588a30
Move the KeptBodySize directive, kept_body filters and the
...
ap_parse_request_body function out of the http module and into a
new module called mod_request, reducing the size of the core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647263 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 18:41:53 +00:00
Guenter Knauf
7f6a84a6a9
No var declarations in the middle of the code.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646305 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 12:40:14 +00:00
Graham Leggett
786afc76bd
mod_auth_form: Add a module capable of allowing end users to log
...
in using an HTML form, storing the credentials within mod_session.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646285 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 11:46:46 +00:00