Skip to content

Commit 6f757e7

Browse files
committed
Update 网络安全
1 parent 5a43f81 commit 6f757e7

File tree

1 file changed

+51
-15
lines changed

1 file changed

+51
-15
lines changed

网络安全

Lines changed: 51 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mxfile host="app.diagrams.net" modified="2022-05-03T11:12:46.624Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36" etag="3n3_sS1zdoDjXuxBdChe" version="17.5.0" type="github" pages="4">
1+
<mxfile host="app.diagrams.net" modified="2022-05-03T11:22:53.653Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36" etag="tR9p0jBfqilQPnH4IdUe" version="17.5.0" type="github" pages="4">
22
<diagram id="kgpKYQtTHZ0yAKxKKP6v" name="Page-1">
33
<mxGraphModel dx="1038" dy="548" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
44
<root>
@@ -178,48 +178,84 @@
178178
</mxGraphModel>
179179
</diagram>
180180
<diagram id="1j3zmIQvFU9pHHSTaU8T" name="Page-3">
181-
<mxGraphModel dx="1438" dy="548" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
181+
<mxGraphModel dx="1650" dy="548" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
182182
<root>
183183
<mxCell id="0" />
184184
<mxCell id="1" parent="0" />
185185
<mxCell id="VRjDOYUZN_Vu312SuSqu-1" value="" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;strokeWidth=2;shape=mxgraph.arrows2.arrow;dy=0.53;dx=25.2;notch=0;fillColor=#cce5ff;strokeColor=none;" vertex="1" parent="1">
186-
<mxGeometry x="38" y="171" width="682" height="27" as="geometry" />
186+
<mxGeometry x="65" y="153" width="682" height="27" as="geometry" />
187187
</mxCell>
188188
<mxCell id="VRjDOYUZN_Vu312SuSqu-5" value="" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;strokeWidth=2;shape=mxgraph.arrows2.arrow;dy=0.53;dx=25.2;notch=0;rotation=-180;fillColor=#ffcc99;strokeColor=none;" vertex="1" parent="1">
189-
<mxGeometry x="34" y="284" width="682" height="27" as="geometry" />
189+
<mxGeometry x="61" y="266" width="682" height="27" as="geometry" />
190190
</mxCell>
191191
<mxCell id="VRjDOYUZN_Vu312SuSqu-2" value="&lt;font style=&quot;font-size: 22px&quot; color=&quot;#3333ff&quot;&gt;...&lt;/font&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;strokeColor=none;fillColor=#b0e3e6;" vertex="1" parent="1">
192-
<mxGeometry x="97" y="160" width="26" height="163" as="geometry" />
192+
<mxGeometry x="124" y="142" width="26" height="163" as="geometry" />
193193
</mxCell>
194194
<mxCell id="VRjDOYUZN_Vu312SuSqu-6" value="&lt;div style=&quot;font-size: 11.3pt;&quot;&gt;UsernamePassword&lt;/div&gt;&lt;div style=&quot;font-size: 11.3pt;&quot;&gt;Authentication&lt;/div&gt;&lt;div style=&quot;font-size: 11.3pt;&quot;&gt;Filter&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;fillColor=#d5e8d4;align=left;fontFamily=Comic Sans MS;labelBackgroundColor=none;gradientColor=#97d077;strokeColor=none;fontColor=#3333FF;" vertex="1" parent="1">
195-
<mxGeometry x="146" y="160" width="140" height="163" as="geometry" />
195+
<mxGeometry x="173" y="142" width="140" height="163" as="geometry" />
196196
</mxCell>
197197
<mxCell id="VRjDOYUZN_Vu312SuSqu-7" value="&lt;div style=&quot;font-size: 11.3pt&quot;&gt;&lt;font color=&quot;#3333ff&quot;&gt;ExceptionTranslation&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 11.3pt&quot;&gt;&lt;font color=&quot;#3333ff&quot;&gt;Filter&lt;/font&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;fontFamily=Comic Sans MS;align=left;fillColor=#d5e8d4;fontColor=default;labelBackgroundColor=none;strokeColor=none;gradientColor=#97d077;" vertex="1" parent="1">
198-
<mxGeometry x="359" y="160" width="160" height="163" as="geometry" />
198+
<mxGeometry x="386" y="142" width="160" height="163" as="geometry" />
199199
</mxCell>
200200
<mxCell id="VRjDOYUZN_Vu312SuSqu-8" value="&lt;div style=&quot;font-size: 11.3pt;&quot;&gt;FilterSecurity&lt;/div&gt;&lt;div style=&quot;font-size: 11.3pt;&quot;&gt;Interceptor&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;fontFamily=Comic Sans MS;align=left;fontColor=#3333FF;labelBackgroundColor=none;fillColor=#d5e8d4;strokeColor=none;gradientColor=#97d077;" vertex="1" parent="1">
201-
<mxGeometry x="533" y="160" width="131" height="163" as="geometry" />
201+
<mxGeometry x="560" y="142" width="131" height="163" as="geometry" />
202202
</mxCell>
203203
<mxCell id="VRjDOYUZN_Vu312SuSqu-9" value="&lt;span style=&quot;font-size: 22px&quot;&gt;&lt;font color=&quot;#3333ff&quot;&gt;...&lt;/font&gt;&lt;/span&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;fillColor=#b0e3e6;strokeColor=none;" vertex="1" parent="1">
204-
<mxGeometry x="301" y="160" width="26" height="163" as="geometry" />
204+
<mxGeometry x="328" y="142" width="26" height="163" as="geometry" />
205205
</mxCell>
206206
<mxCell id="VRjDOYUZN_Vu312SuSqu-12" value="受保护的&lt;br&gt;API" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;fillColor=#66FFFF;strokeColor=none;" vertex="1" parent="1">
207-
<mxGeometry x="717" y="142" width="178" height="229" as="geometry" />
207+
<mxGeometry x="744" y="124" width="178" height="229" as="geometry" />
208208
</mxCell>
209209
<mxCell id="VRjDOYUZN_Vu312SuSqu-13" value="请求" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;" vertex="1" parent="1">
210-
<mxGeometry x="30" y="137" width="54" height="30" as="geometry" />
210+
<mxGeometry x="57" y="119" width="54" height="30" as="geometry" />
211211
</mxCell>
212212
<mxCell id="VRjDOYUZN_Vu312SuSqu-14" value="响应" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;" vertex="1" parent="1">
213-
<mxGeometry x="27" y="249" width="54" height="30" as="geometry" />
213+
<mxGeometry x="54" y="231" width="54" height="30" as="geometry" />
214214
</mxCell>
215215
<mxCell id="VRjDOYUZN_Vu312SuSqu-15" value="" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;fillColor=none;dashed=1;" vertex="1" parent="1">
216-
<mxGeometry x="84" y="145" width="600" height="217" as="geometry" />
216+
<mxGeometry x="111" y="127" width="600" height="217" as="geometry" />
217217
</mxCell>
218218
<mxCell id="VRjDOYUZN_Vu312SuSqu-16" value="Spring Security&amp;nbsp;过滤器链" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;" vertex="1" parent="1">
219-
<mxGeometry x="258" y="326" width="267" height="30" as="geometry" />
219+
<mxGeometry x="285" y="308" width="267" height="30" as="geometry" />
220220
</mxCell>
221221
<mxCell id="VRjDOYUZN_Vu312SuSqu-17" value="Web&lt;br&gt;客户端" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fillColor=#cce5ff;strokeColor=none;" vertex="1" parent="1">
222-
<mxGeometry x="-66" y="137" width="96" height="229" as="geometry" />
222+
<mxGeometry x="-39" y="119" width="96" height="229" as="geometry" />
223+
</mxCell>
224+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-1" value="" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;strokeWidth=2;shape=mxgraph.arrows2.arrow;dy=0.53;dx=25.2;notch=0;fillColor=#cce5ff;strokeColor=none;" vertex="1" parent="1">
225+
<mxGeometry x="65" y="443" width="682" height="27" as="geometry" />
226+
</mxCell>
227+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-2" value="" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;strokeWidth=2;shape=mxgraph.arrows2.arrow;dy=0.53;dx=25.2;notch=0;rotation=-180;fillColor=#ffcc99;strokeColor=none;" vertex="1" parent="1">
228+
<mxGeometry x="61" y="556" width="682" height="27" as="geometry" />
229+
</mxCell>
230+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-4" value="&lt;div style=&quot;font-size: 11.3pt&quot;&gt;&lt;span style=&quot;font-size: 13px ; text-align: center&quot;&gt;ProviderManager&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 11.3pt&quot;&gt;&lt;span style=&quot;font-size: 13px ; text-align: center&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 11.3pt&quot;&gt;&lt;span style=&quot;font-size: 13px ; text-align: center&quot;&gt;调用authenticate方法进行认证&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;fillColor=#d5e8d4;align=left;fontFamily=Comic Sans MS;labelBackgroundColor=none;gradientColor=#97d077;strokeColor=none;fontColor=#3333FF;" vertex="1" parent="1">
231+
<mxGeometry x="258" y="430" width="122" height="163" as="geometry" />
232+
</mxCell>
233+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-5" value="&lt;div style=&quot;font-size: 11.3pt&quot;&gt;&lt;span style=&quot;color: rgb(51 , 51 , 255) ; font-size: 13px ; text-align: center&quot;&gt;DaoAuthenticationProvider&lt;/span&gt;&lt;br&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;fontFamily=Comic Sans MS;align=left;fillColor=#d5e8d4;fontColor=default;labelBackgroundColor=none;strokeColor=none;gradientColor=#97d077;" vertex="1" parent="1">
234+
<mxGeometry x="404" y="430" width="160" height="163" as="geometry" />
235+
</mxCell>
236+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-6" value="自定义的UserDetailsService&lt;br&gt;&lt;br&gt;通过数据库查询用户及权限信息" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;fontFamily=Comic Sans MS;align=left;fontColor=#3333FF;labelBackgroundColor=none;fillColor=#d5e8d4;strokeColor=none;gradientColor=#97d077;" vertex="1" parent="1">
237+
<mxGeometry x="580" y="430" width="131" height="163" as="geometry" />
238+
</mxCell>
239+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-7" value="&lt;span style=&quot;font-size: 14px&quot;&gt;&lt;font color=&quot;#3333ff&quot; style=&quot;font-size: 14px&quot;&gt;&lt;font face=&quot;Comic Sans MS&quot;&gt;Controller&lt;br&gt;登录接口&lt;br&gt;&lt;br&gt;如果认证通过,使用UserID产生JWT&lt;/font&gt;&lt;br&gt;&lt;/font&gt;&lt;/span&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;fillColor=#b0e3e6;strokeColor=none;align=left;" vertex="1" parent="1">
240+
<mxGeometry x="115" y="430" width="118" height="163" as="geometry" />
241+
</mxCell>
242+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-8" value="数据库&lt;br&gt;用户表" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;fillColor=#66FFFF;strokeColor=none;" vertex="1" parent="1">
243+
<mxGeometry x="744" y="414" width="178" height="229" as="geometry" />
244+
</mxCell>
245+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-9" value="请求" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;" vertex="1" parent="1">
246+
<mxGeometry x="57" y="409" width="54" height="30" as="geometry" />
247+
</mxCell>
248+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-10" value="响应" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;" vertex="1" parent="1">
249+
<mxGeometry x="54" y="521" width="54" height="30" as="geometry" />
250+
</mxCell>
251+
<mxCell id="0sIwqMhqtZzRmxHrZjuM-13" value="Web&lt;br&gt;客户端" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fillColor=#cce5ff;strokeColor=none;" vertex="1" parent="1">
252+
<mxGeometry x="-39" y="409" width="96" height="229" as="geometry" />
253+
</mxCell>
254+
<mxCell id="iP6wPV2JdwkBQ3_jN8oB-1" value="" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#3333FF;fillColor=none;dashed=1;" vertex="1" parent="1">
255+
<mxGeometry x="108" y="412" width="609" height="230" as="geometry" />
256+
</mxCell>
257+
<mxCell id="iP6wPV2JdwkBQ3_jN8oB-2" value="Spring Security&amp;nbsp;自定义认证流程" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;labelBackgroundColor=none;fontFamily=Comic Sans MS;fontSize=22;fontColor=#000000;" vertex="1" parent="1">
258+
<mxGeometry x="220" y="603" width="332" height="30" as="geometry" />
223259
</mxCell>
224260
</root>
225261
</mxGraphModel>

0 commit comments

Comments
 (0)