Pedro M. Baeza
|
014edfa5c2
|
[FIX] PEP8
|
8 years ago |
Laurent Mignon (ACSONE)
|
5ce6bac805
|
[IMP] Log http headers if the expected key is not found
|
9 years ago |
Laurent Mignon (ACSONE)
|
b02f98f849
|
[MIG] Migration from 8.0
|
9 years ago |
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.
|
10 years ago |
Stéphane Bidoul
|
5e79ce29dc
|
auth_from_http_remote_user: remove unneeded browse
|
10 years ago |
Stéphane Bidoul
|
68e96cd782
|
auth_http_remote_user: slight reorganization and some comments (logic remains identical)
|
10 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
|
10 years ago |
Laurent Mignon (aka lmi)
|
8c7115e2d3
|
[FIX] return 'None' if no user name is found in the request hearder
|
10 years ago |
Laurent Mignon (aka lmi)
|
97f491724f
|
[PEP8]
|
10 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...
|
10 years ago |
Laurent Mignon (aka lmi)
|
a70e13365d
|
[FIX] properlyt return the Unauthorized() response to avoid warning in the log file
|
10 years ago |
Laurent Mignon (aka lmi)
|
1675ae6fbf
|
Code simplification: remove overkill method
|
10 years ago |
Laurent Mignon (aka lmi)
|
8f9fcae4dc
|
Addons configuration parameter is now a field part of the Authentication group from base_setup[C
|
10 years ago |
Laurent Mignon
|
9b99c2dc57
|
[FIX] if the default login page is disabled, redirect with *401*
|
10 years ago |
Laurent Mignon
|
2f51036928
|
[PEP8] line lenght is now ridiculous (80 chars)
|
10 years ago |
Laurent Mignon
|
c893a706b8
|
port auth_from_http_remote_user to 8.0
|
10 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 |