File size: 11,218 Bytes
da43f5e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.43.0 (0)
 -->
<!-- Title: ProcessFlowDiagram Pages: 1 -->
<svg width="733pt" height="973pt"
 viewBox="0.00 0.00 733.25 973.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(36 937)">
<title>ProcessFlowDiagram</title>
<polygon fill="white" stroke="transparent" points="-36,36 -36,-937 697.25,-937 697.25,36 -36,36"/>
<!-- Start Login -->
<g id="node1" class="node">
<title>Start Login</title>
<ellipse fill="#a8e6cf" stroke="black" cx="256.5" cy="-883" rx="63.89" ry="18"/>
<text text-anchor="middle" x="256.5" y="-879.3" font-family="Times,serif" font-size="14.00">Start Login</text>
</g>
<!-- show_login_form -->
<g id="node2" class="node">
<title>show_login_form</title>
<path fill="#b8d4f1" stroke="black" d="M393.32,-796C393.32,-796 180.58,-796 180.58,-796 174.58,-796 163.42,-792.95 158.25,-789.89 158.25,-789.89 118.01,-766.11 118.01,-766.11 112.85,-763.05 113.68,-760 119.68,-760 119.68,-760 332.42,-760 332.42,-760 338.42,-760 349.58,-763.05 354.75,-766.11 354.75,-766.11 394.99,-789.89 394.99,-789.89 400.15,-792.95 399.32,-796 393.32,-796"/>
<text text-anchor="middle" x="256.5" y="-774.3" font-family="Times,serif" font-size="14.00">Display Login Form</text>
</g>
<!-- Start Login&#45;&gt;show_login_form -->
<g id="edge1" class="edge">
<title>Start Login&#45;&gt;show_login_form</title>
<path fill="none" stroke="#4a4a4a" d="M256.5,-864.71C256.5,-864.71 256.5,-806.08 256.5,-806.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="260,-806.08 256.5,-796.08 253,-806.08 260,-806.08"/>
<text text-anchor="middle" x="291.5" y="-828" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">User Request</text>
</g>
<!-- enter_credentials -->
<g id="node3" class="node">
<title>enter_credentials</title>
<path fill="#b8d4f1" stroke="black" d="M472.01,-691C472.01,-691 134.1,-691 134.1,-691 128.1,-691 116.5,-688.84 110.9,-686.67 110.9,-686.67 40.19,-659.33 40.19,-659.33 34.59,-657.16 34.99,-655 40.99,-655 40.99,-655 378.9,-655 378.9,-655 384.9,-655 396.5,-657.16 402.1,-659.33 402.1,-659.33 472.81,-686.67 472.81,-686.67 478.41,-688.84 478.01,-691 472.01,-691"/>
<text text-anchor="middle" x="256.5" y="-669.3" font-family="Times,serif" font-size="14.00">User Enters Email &amp; Password</text>
</g>
<!-- show_login_form&#45;&gt;enter_credentials -->
<g id="edge2" class="edge">
<title>show_login_form&#45;&gt;enter_credentials</title>
<path fill="none" stroke="#4a4a4a" d="M256.5,-759.71C256.5,-759.71 256.5,-701.08 256.5,-701.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="260,-701.08 256.5,-691.08 253,-701.08 260,-701.08"/>
<text text-anchor="middle" x="288" y="-723" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Form Ready</text>
</g>
<!-- validate_credentials -->
<g id="node4" class="node">
<title>validate_credentials</title>
<path fill="#bebebe" stroke="black" d="M344.5,-586C344.5,-586 168.5,-586 168.5,-586 162.5,-586 156.5,-580 156.5,-574 156.5,-574 156.5,-562 156.5,-562 156.5,-556 162.5,-550 168.5,-550 168.5,-550 344.5,-550 344.5,-550 350.5,-550 356.5,-556 356.5,-562 356.5,-562 356.5,-574 356.5,-574 356.5,-580 350.5,-586 344.5,-586"/>
<text text-anchor="middle" x="256.5" y="-564.3" font-family="Times,serif" font-size="14.00">Validate User Credentials</text>
</g>
<!-- enter_credentials&#45;&gt;validate_credentials -->
<g id="edge3" class="edge">
<title>enter_credentials&#45;&gt;validate_credentials</title>
<path fill="none" stroke="#4a4a4a" d="M256.5,-654.71C256.5,-654.71 256.5,-596.08 256.5,-596.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="260,-596.08 256.5,-586.08 253,-596.08 260,-596.08"/>
<text text-anchor="middle" x="275" y="-618" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Submit</text>
</g>
<!-- credentials_valid -->
<g id="node5" class="node">
<title>credentials_valid</title>
<path fill="#fff9c4" stroke="black" d="M244.57,-479.67C244.57,-479.67 106.88,-464.33 106.88,-464.33 100.92,-463.66 100.92,-462.34 106.88,-461.67 106.88,-461.67 244.57,-446.33 244.57,-446.33 250.54,-445.66 262.46,-445.66 268.43,-446.33 268.43,-446.33 406.12,-461.67 406.12,-461.67 412.08,-462.34 412.08,-463.66 406.12,-464.33 406.12,-464.33 268.43,-479.67 268.43,-479.67 262.46,-480.34 250.54,-480.34 244.57,-479.67"/>
<text text-anchor="middle" x="256.5" y="-459.3" font-family="Times,serif" font-size="14.00">Are Credentials Valid?</text>
</g>
<!-- validate_credentials&#45;&gt;credentials_valid -->
<g id="edge4" class="edge">
<title>validate_credentials&#45;&gt;credentials_valid</title>
<path fill="none" stroke="#4a4a4a" d="M256.5,-549.71C256.5,-549.71 256.5,-491.08 256.5,-491.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="260,-491.08 256.5,-481.08 253,-491.08 260,-491.08"/>
<text text-anchor="middle" x="298.5" y="-513" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Check Complete</text>
</g>
<!-- create_session -->
<g id="node6" class="node">
<title>create_session</title>
<path fill="#bebebe" stroke="black" d="M151,-376C151,-376 12,-376 12,-376 6,-376 0,-370 0,-364 0,-364 0,-352 0,-352 0,-346 6,-340 12,-340 12,-340 151,-340 151,-340 157,-340 163,-346 163,-352 163,-352 163,-364 163,-364 163,-370 157,-376 151,-376"/>
<text text-anchor="middle" x="81.5" y="-354.3" font-family="Times,serif" font-size="14.00">Create User Session</text>
</g>
<!-- credentials_valid&#45;&gt;create_session -->
<g id="edge5" class="edge">
<title>credentials_valid&#45;&gt;create_session</title>
<path fill="none" stroke="#4a4a4a" d="M128.86,-459.01C128.86,-459.01 128.86,-386.28 128.86,-386.28"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="132.36,-386.28 128.86,-376.28 125.36,-386.28 132.36,-386.28"/>
<text text-anchor="middle" x="233" y="-408" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Valid</text>
</g>
<!-- show_error_message -->
<g id="node9" class="node">
<title>show_error_message</title>
<path fill="#b8d4f1" stroke="black" d="M649.01,-376C649.01,-376 311.1,-376 311.1,-376 305.1,-376 293.5,-373.84 287.9,-371.67 287.9,-371.67 217.19,-344.33 217.19,-344.33 211.59,-342.16 211.99,-340 217.99,-340 217.99,-340 555.9,-340 555.9,-340 561.9,-340 573.5,-342.16 579.1,-344.33 579.1,-344.33 649.81,-371.67 649.81,-371.67 655.41,-373.84 655.01,-376 649.01,-376"/>
<text text-anchor="middle" x="433.5" y="-354.3" font-family="Times,serif" font-size="14.00">Show Invalid Credentials Error</text>
</g>
<!-- credentials_valid&#45;&gt;show_error_message -->
<g id="edge6" class="edge">
<title>credentials_valid&#45;&gt;show_error_message</title>
<path fill="none" stroke="#4a4a4a" d="M312.01,-450.96C312.01,-450.96 312.01,-386.22 312.01,-386.22"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="315.51,-386.22 312.01,-376.22 308.51,-386.22 315.51,-386.22"/>
<text text-anchor="middle" x="381.5" y="-408" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Invalid</text>
</g>
<!-- generate_token -->
<g id="node7" class="node">
<title>generate_token</title>
<path fill="#bebebe" stroke="black" d="M171,-271C171,-271 28,-271 28,-271 22,-271 16,-265 16,-259 16,-259 16,-247 16,-247 16,-241 22,-235 28,-235 28,-235 171,-235 171,-235 177,-235 183,-241 183,-247 183,-247 183,-259 183,-259 183,-265 177,-271 171,-271"/>
<text text-anchor="middle" x="99.5" y="-249.3" font-family="Times,serif" font-size="14.00">Generate Auth Token</text>
</g>
<!-- create_session&#45;&gt;generate_token -->
<g id="edge7" class="edge">
<title>create_session&#45;&gt;generate_token</title>
<path fill="none" stroke="#4a4a4a" d="M89.5,-339.71C89.5,-339.71 89.5,-281.08 89.5,-281.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="93,-281.08 89.5,-271.08 86,-281.08 93,-281.08"/>
<text text-anchor="middle" x="129" y="-303" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Session Created</text>
</g>
<!-- redirect_dashboard -->
<g id="node8" class="node">
<title>redirect_dashboard</title>
<path fill="#b8d4f1" stroke="black" d="M329.25,-141C329.25,-141 83.22,-141 83.22,-141 77.22,-141 65.89,-138.24 60.56,-135.48 60.56,-135.48 12.41,-110.52 12.41,-110.52 7.08,-107.76 7.75,-105 13.75,-105 13.75,-105 259.78,-105 259.78,-105 265.78,-105 277.11,-107.76 282.44,-110.52 282.44,-110.52 330.59,-135.48 330.59,-135.48 335.92,-138.24 335.25,-141 329.25,-141"/>
<text text-anchor="middle" x="171.5" y="-119.3" font-family="Times,serif" font-size="14.00">Redirect to Dashboard</text>
</g>
<!-- generate_token&#45;&gt;redirect_dashboard -->
<g id="edge8" class="edge">
<title>generate_token&#45;&gt;redirect_dashboard</title>
<path fill="none" stroke="#4a4a4a" d="M99.5,-234.92C99.5,-234.92 99.5,-151.34 99.5,-151.34"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="103,-151.34 99.5,-141.34 96,-151.34 103,-151.34"/>
<text text-anchor="middle" x="157" y="-185.5" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Token Ready</text>
</g>
<!-- end_login_process -->
<g id="node11" class="node">
<title>end_login_process</title>
<ellipse fill="#ffb3ba" stroke="black" cx="301.5" cy="-18" rx="96.68" ry="18"/>
<text text-anchor="middle" x="301.5" y="-14.3" font-family="Times,serif" font-size="14.00">End Login Process</text>
</g>
<!-- redirect_dashboard&#45;&gt;end_login_process -->
<g id="edge9" class="edge">
<title>redirect_dashboard&#45;&gt;end_login_process</title>
<path fill="none" stroke="#4a4a4a" d="M272.89,-105.19C272.89,-105.19 272.89,-45.2 272.89,-45.2"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="276.39,-45.2 272.89,-35.2 269.39,-45.2 276.39,-45.2"/>
<text text-anchor="middle" x="288" y="-68" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Success</text>
</g>
<!-- log_failed_login -->
<g id="node10" class="node">
<title>log_failed_login</title>
<polygon fill="#f0f8ff" stroke="black" points="524.5,-206 332.5,-206 332.5,-170 530.5,-170 530.5,-200 524.5,-206"/>
<polyline fill="none" stroke="black" points="524.5,-206 524.5,-200 "/>
<polyline fill="none" stroke="black" points="530.5,-200 524.5,-200 "/>
<text text-anchor="middle" x="431.5" y="-184.3" font-family="Times,serif" font-size="14.00">Log Failed Login Attempt</text>
</g>
<!-- show_error_message&#45;&gt;log_failed_login -->
<g id="edge10" class="edge">
<title>show_error_message&#45;&gt;log_failed_login</title>
<path fill="none" stroke="#4a4a4a" d="M431.5,-339.81C431.5,-339.81 431.5,-216.06 431.5,-216.06"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="435,-216.06 431.5,-206.06 428,-216.06 435,-216.06"/>
<text text-anchor="middle" x="465" y="-303" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Error Shown</text>
</g>
<!-- log_failed_login&#45;&gt;end_login_process -->
<g id="edge11" class="edge">
<title>log_failed_login&#45;&gt;end_login_process</title>
<path fill="none" stroke="#4a4a4a" d="M369.73,-169.81C369.73,-169.81 369.73,-40.8 369.73,-40.8"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="373.23,-40.8 369.73,-30.8 366.23,-40.8 373.23,-40.8"/>
<text text-anchor="middle" x="450.5" y="-120.5" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Logged</text>
</g>
</g>
</svg>