|
|
- Info
Products.Challenger
Force authentication from content-space
Project Description
Force authentication based on a pluggable hook that sits in content-space.
- Create a Script Python (or any other callable item) with the id
'challenge_hook' and that takes 3 parameters: target, user, request.
- If there's no logged-in user, the 'user' argument will be None.
- Return 'True' if you want to force authentication and 'False' if you want the
request to proceed normally.
Example (Script Python):
##parameters=target, user, request
return user is not None
For more complex instructions, look at the functional doctests in
Challenger/tests/*.txt.
- added Trove classifiers
- SYSTEMSINTERNAL-370, SYSTEMSINTERNAL-371, SYSTEMSINTERNAL-372,
SYSTEMSINTERNAL-373: prepared product for being open sourced [Raj Shah]
|
-
May
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
| 1 | 2 | 3 | 4 | 5 | 6 |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | | | |
|