|
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"> |
2 | 2 | <diagram id="kgpKYQtTHZ0yAKxKKP6v" name="Page-1"> |
3 | 3 | <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"> |
4 | 4 | <root> |
|
178 | 178 | </mxGraphModel> |
179 | 179 | </diagram> |
180 | 180 | <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"> |
182 | 182 | <root> |
183 | 183 | <mxCell id="0" /> |
184 | 184 | <mxCell id="1" parent="0" /> |
185 | 185 | <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" /> |
187 | 187 | </mxCell> |
188 | 188 | <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" /> |
190 | 190 | </mxCell> |
191 | 191 | <mxCell id="VRjDOYUZN_Vu312SuSqu-2" value="<font style="font-size: 22px" color="#3333ff">...</font>" 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" /> |
193 | 193 | </mxCell> |
194 | 194 | <mxCell id="VRjDOYUZN_Vu312SuSqu-6" value="<div style="font-size: 11.3pt;">UsernamePassword</div><div style="font-size: 11.3pt;">Authentication</div><div style="font-size: 11.3pt;">Filter</div>" 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" /> |
196 | 196 | </mxCell> |
197 | 197 | <mxCell id="VRjDOYUZN_Vu312SuSqu-7" value="<div style="font-size: 11.3pt"><font color="#3333ff">ExceptionTranslation</font></div><div style="font-size: 11.3pt"><font color="#3333ff">Filter</font></div>" 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" /> |
199 | 199 | </mxCell> |
200 | 200 | <mxCell id="VRjDOYUZN_Vu312SuSqu-8" value="<div style="font-size: 11.3pt;">FilterSecurity</div><div style="font-size: 11.3pt;">Interceptor</div>" 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" /> |
202 | 202 | </mxCell> |
203 | 203 | <mxCell id="VRjDOYUZN_Vu312SuSqu-9" value="<span style="font-size: 22px"><font color="#3333ff">...</font></span>" 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" /> |
205 | 205 | </mxCell> |
206 | 206 | <mxCell id="VRjDOYUZN_Vu312SuSqu-12" value="受保护的<br>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" /> |
208 | 208 | </mxCell> |
209 | 209 | <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" /> |
211 | 211 | </mxCell> |
212 | 212 | <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" /> |
214 | 214 | </mxCell> |
215 | 215 | <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" /> |
217 | 217 | </mxCell> |
218 | 218 | <mxCell id="VRjDOYUZN_Vu312SuSqu-16" value="Spring Security&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" /> |
220 | 220 | </mxCell> |
221 | 221 | <mxCell id="VRjDOYUZN_Vu312SuSqu-17" value="Web<br>客户端" 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="<div style="font-size: 11.3pt"><span style="font-size: 13px ; text-align: center">ProviderManager</span><br></div><div style="font-size: 11.3pt"><span style="font-size: 13px ; text-align: center"><br></span></div><div style="font-size: 11.3pt"><span style="font-size: 13px ; text-align: center">调用authenticate方法进行认证</span></div>" 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="<div style="font-size: 11.3pt"><span style="color: rgb(51 , 51 , 255) ; font-size: 13px ; text-align: center">DaoAuthenticationProvider</span><br></div>" 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<br><br>通过数据库查询用户及权限信息" 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="<span style="font-size: 14px"><font color="#3333ff" style="font-size: 14px"><font face="Comic Sans MS">Controller<br>登录接口<br><br>如果认证通过,使用UserID产生JWT</font><br></font></span>" 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="数据库<br>用户表" 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<br>客户端" 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&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" /> |
223 | 259 | </mxCell> |
224 | 260 | </root> |
225 | 261 | </mxGraphModel> |
|
0 commit comments