-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjwt.drawio
119 lines (119 loc) · 9.24 KB
/
jwt.drawio
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
<mxfile host="65bd71144e">
<diagram id="UkA-LRYaiHlGlhSkF4ht" name="Page-1">
<mxGraphModel dx="1009" dy="1093" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" value="<font style="font-size: 19px;">HTTP Request</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="30" y="250" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="3" value="JWT Auth Filter" style="rounded=0;whiteSpace=wrap;html=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="210" y="250" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="5" value="Validate JWT" style="rounded=0;whiteSpace=wrap;html=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="380" y="250" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="6" value="" style="endArrow=classic;html=1;fontSize=19;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="5" source="3">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="380" y="280" as="sourcePoint"/>
<mxPoint x="470" y="320" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7" value="" style="endArrow=classic;html=1;fontSize=19;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="10">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="450" y="400" as="sourcePoint"/>
<mxPoint x="470" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="8" value="" style="endArrow=classic;html=1;fontSize=19;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;fillColor=#f8cecc;strokeColor=#b85450;" edge="1" parent="1" source="5" target="2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="300" y="460" as="sourcePoint"/>
<mxPoint x="100" y="380" as="targetPoint"/>
<Array as="points">
<mxPoint x="410" y="380"/>
<mxPoint x="120" y="380"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="10" value="Security Context Holder" style="rounded=0;whiteSpace=wrap;html=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="410" y="410" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="12" value="Dispatcher Servlet" style="rounded=0;whiteSpace=wrap;html=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="410" y="540" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="endArrow=classic;html=1;fontSize=19;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="10" target="12">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="510" as="sourcePoint"/>
<mxPoint x="390" y="460" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" value="Dispatcher Servlet" style="rounded=0;whiteSpace=wrap;html=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="410" y="660" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="15" value="" style="endArrow=classic;html=1;fontSize=19;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="12" target="14">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="510" as="sourcePoint"/>
<mxPoint x="390" y="460" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="16" value="" style="endArrow=classic;html=1;fontSize=19;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;fillColor=#d5e8d4;strokeColor=#82b366;" edge="1" parent="1" source="14" target="2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="470" y="660" as="sourcePoint"/>
<mxPoint x="520" y="610" as="targetPoint"/>
<Array as="points">
<mxPoint x="60" y="700"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="17" value="User Details Service" style="rounded=0;whiteSpace=wrap;html=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="670" y="240" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="18" value="Docker" style="rounded=0;whiteSpace=wrap;html=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="670" y="440" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="20" value="" style="endArrow=classic;startArrow=classic;html=1;fontSize=19;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="17">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="550" y="310" as="sourcePoint"/>
<mxPoint x="600" y="260" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="21" value="JWT Service" style="rounded=0;whiteSpace=wrap;html=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="380" y="110" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="24" value="" style="endArrow=classic;html=1;fontSize=19;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="5" target="21">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="500" y="340" as="sourcePoint"/>
<mxPoint x="550" y="290" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="25" value="" style="endArrow=classic;html=1;fontSize=19;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="250" y="350" as="sourcePoint"/>
<mxPoint x="300" y="300" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="26" value="" style="endArrow=classic;html=1;fontSize=19;entryX=1;entryY=0.25;entryDx=0;entryDy=0;exitX=0;exitY=0.25;exitDx=0;exitDy=0;fillColor=#f8cecc;strokeColor=#b85450;" edge="1" parent="1" source="3" target="2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="200" y="380" as="sourcePoint"/>
<mxPoint x="250" y="330" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="27" value="Invalid Token<br>HTTP 403" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="200" y="390" width="130" height="60" as="geometry"/>
</mxCell>
<mxCell id="28" value="HTTP 200" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="210" y="650" width="110" height="40" as="geometry"/>
</mxCell>
<mxCell id="29" value="User DNE" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="130" y="210" width="110" height="40" as="geometry"/>
</mxCell>
<mxCell id="30" value="" style="endArrow=classic;startArrow=classic;html=1;fontSize=19;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="18" target="17">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="530" y="520" as="sourcePoint"/>
<mxPoint x="580" y="470" as="targetPoint"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>