Stéphane Bidoul
|
c2fec40d13
|
auth_http_remote_user: test if already authenticated based on login instead of uid
Avoids a database query unless authentication is actually required.
|
11 years ago |
Stéphane Bidoul
|
5e79ce29dc
|
auth_from_http_remote_user: remove unneeded browse
|
11 years ago |
Stéphane Bidoul
|
68e96cd782
|
auth_http_remote_user: slight reorganization and some comments (logic remains identical)
|
11 years ago |
Laurent Mignon (aka lmi)
|
436ffcd53f
|
If HTTP_REMOTE_USER is in the request headers and no corresponding user is found in odoo always issues Unauthorized (avoid redirect to the login page)
If the uid in the session is not the same as the one from the binded HTTP_REMOTE_USER, always logout to clean up the session
|
11 years ago |
Laurent Mignon (aka lmi)
|
8c7115e2d3
|
[FIX] return 'None' if no user name is found in the request hearder
|
11 years ago |
Laurent Mignon (aka lmi)
|
97f491724f
|
[PEP8]
|
11 years ago |
Laurent Mignon (aka lmi)
|
d68a47f05f
|
[FIX] always check the uid in the session and the one in the request to avoid session mismatch...
|
11 years ago |
Laurent Mignon (aka lmi)
|
a70e13365d
|
[FIX] properlyt return the Unauthorized() response to avoid warning in the log file
|
11 years ago |
Laurent Mignon (aka lmi)
|
1675ae6fbf
|
Code simplification: remove overkill method
|
11 years ago |
Laurent Mignon (aka lmi)
|
8f9fcae4dc
|
Addons configuration parameter is now a field part of the Authentication group from base_setup[C
|
11 years ago |
Laurent Mignon
|
9b99c2dc57
|
[FIX] if the default login page is disabled, redirect with *401*
|
11 years ago |
Laurent Mignon
|
2f51036928
|
[PEP8] line lenght is now ridiculous (80 chars)
|
11 years ago |
Laurent Mignon
|
c893a706b8
|
port auth_from_http_remote_user to 8.0
|
11 years ago |
Laurent Mignon
|
7dd5bc685e
|
[ADD] This module initialize the session by looking for the field HTTP_REMOTE_USER in the HEADER of the HTTP request and trying^Co bind the given value to a user
|
11 years ago |