Discard SAML2 Persistent NameID.
[kic.git] / enrolment_status_seq.pic
blobde3d1ef6fb0a29439b9656a7e868c9917460d2ed
2 .PS
3 copy "sequence.pic";
5 movewid = 1;
6 maxpsht = 15;
7 maxpswid = 15;
8 spacing = 0.2;
10 # Define objects
11 object(Moodle,"Moodle:LMS");
12 object(ECS,":ECS");
13 object(Mahara,"Mahara:PLE");
14 actor(A,"");
15 step();step();
17 # Message sequences
19 begin_frame(Moodle,F,"create courselink");
20   message(Moodle,ECS,"POST:cc/courselinks"); active(Moodle); active(ECS); step(); inactive(Moodle); inactive(ECS);
21   message(Mahara,ECS,"*POST:sys/events/fifo"); active(Mahara); active(ECS); step(); inactive(Mahara); inactive(ECS);
22   message(Mahara,ECS,"GET:cc/courselinks/<id>"); active(Mahara); active(ECS); step(); inactive(ECS);
23   message(Mahara,Mahara,"create courselinks"); inactive(Mahara); step();
24 end_frame(A,F);
25 step();
26 begin_frame(Moodle,F,"consume courselink");
27   message(A,Mahara,"click courselink"); active(Mahara);step(); inactive(Mahara);
28   message(A,Moodle,"redirect(params)"); active(Moodle);step();
29   message(Moodle,ECS,"auth:=DELETE:sys/auths/<hash>");active(ECS)step();inactive(ECS);
30   message(Moodle,Moodle,"check auth token"); step();
31   message(Moodle,Moodle,"check security hash");
32   message(A,Moodle,"confirm enrolment to course"); step();
33   message(Moodle,Moodle,"enrole user to course"); step();
34   active(Moodle);
35     message(Moodle,A,"*provide course");step();
36   inactive(Moodle);step();
37 end_frame(A,F);
38 step();
39 begin_frame(Moodle,F,"send status");
40   step();
41   message(Moodle,ECS,"POST:cc/enrolment_status"); active(ECS); step(); inactive(ECS); inactive(Moodle);
42   message(Mahara,ECS,"*POST:sys/events/fifo"); active(Mahara); active(ECS); step(); inactive(Mahara); inactive(ECS);
43   message(Mahara,ECS,"DELETE:cc/enrolement_status/<id>"); active(Mahara); active(ECS); step(); inactive(ECS);
44   message(Mahara,Mahara,"update status"); inactive(Mahara); step();
45 end_frame(A,F);
47 # Complete the lifelines
49 complete(Moodle);
50 complete(ECS);
51 complete(Mahara);
52 complete(A);
53 .PE