blob: bba5b79c0b4b03c1b1afa8238295c2f418f294dc [file] [log] [blame]
Chetan Gaonker7f4bf742016-05-04 15:56:08 -07001# -*- text -*-
2#
3# $Id: de3f13089d8951f4c822ebc4007df58e0487de14 $
4
5#
6# The "always" module is here for debugging purposes, or
7# for use in complex policies.
8# Instance simply returns the same result, always, without
9# doing anything.
10#
11# rcode may be one of the following values:
12# - reject - Reject the user.
13# - fail - Simulate or indicate a failure.
14# - ok - Simulate or indicate a success.
15# - handled - Indicate that the request has been handled,
16# stop processing, and send response if set.
17# - invalid - Indicate that the request is invalid.
18# - userlock - Indicate that the user account has been
19# locked out.
20# - notfound - Indicate that a user account can't be found.
21# - noop - Simulate a no-op.
22# - updated - Indicate that the request has been updated.
23#
24# If an instance is listed in a session {} section,
25# this simulates a user having <integer> sessions.
26#
27# simulcount = <integer>
28#
29# If an instance is listed in a session {} section,
30# this simulates the user having multilink
31# sessions.
32#
33# mpp = <integer>
34#
35always reject {
36 rcode = reject
37}
38always fail {
39 rcode = fail
40}
41always ok {
42 rcode = ok
43}
44always handled {
45 rcode = handled
46}
47always invalid {
48 rcode = invalid
49}
50always userlock {
51 rcode = userlock
52}
53always notfound {
54 rcode = notfound
55}
56always noop {
57 rcode = noop
58}
59always updated {
60 rcode = updated
61}