Spring Security基于Spring框架,提供了一套Web应用安全性的完整解决方案。JWT(JSON Web Token)是当前比较主流的Token令牌生成方案,非常适合作为登录和授权认证的凭证。这里我们就使用Spring Security并结合JWT实现用户认证(Authenticati ...
分类:
编程语言 时间:
2021-01-25 11:03:03
阅读次数:
0
错误日志 2021-01-22 17:54:51.568 [,] INFO [main] o.s.b.c.e.t.TomcatEmbeddedServletContainer-201 : Tomcat started on port(s): 8503 (http) 2021-01-22 17:54: ...
分类:
编程语言 时间:
2021-01-25 10:51:55
阅读次数:
0
老是整忘记,记录一下rabbitmq使用过程 1、No module named 'celery.backends.amqp' or KeyError: 'backend' #6384 pip install celery==4.4.6 2、关键代码 import subprocess from t ...
分类:
其他好文 时间:
2021-01-22 12:05:44
阅读次数:
0
挺好想的二分题吧。 const int N=1e5+10; PII a[N]; int n,k; bool check(int mid) { int res=0; for(int i=0;i<n;i++) res+=(a[i].fi/mid)*(a[i].se/mid); return res>=k ...
分类:
其他好文 时间:
2021-01-22 12:03:44
阅读次数:
0
【题目链接】 题意分析 这道题感觉应做的话可以 但是巧法锻炼思维 首先 我们枚举正方形的左上角坐标 然后依次扫描四条边的长度 注意这里扫描有两种方式 平行于边以及平行于对角线 判断四条边的长度是否相等 这是第一个指标 然后 我们还需要判断这是否是一个独立的正方形 这里 我们可以使用搜索判断联通的1的 ...
分类:
其他好文 时间:
2021-01-22 12:02:13
阅读次数:
0
MaterialApp({ Key key, this.title = '', // 设备用于为用户识别应用程序的单行描述 this.home, // 应用程序默认路由的小部件,用来定义当前应用打开的时候,所显示的界面 this.color, // 在操作系统界面中应用程序使用的主色。 this.t ...
分类:
移动开发 时间:
2021-01-21 10:35:17
阅读次数:
0
函数 1 def check(x,y): 2 if x<0 or x>n or y>m or y<0: 3 return False 4 else : 5 return True 类似C的 1 int check(int x,int y) 2 { 3 if(x<0 || x>n || y>m || ...
分类:
编程语言 时间:
2021-01-19 12:03:46
阅读次数:
0
Given a string , determine if it is?valid. A string is?valid?if, starting with an empty string , you can?transform into after performing the following ...
分类:
其他好文 时间:
2021-01-18 11:15:29
阅读次数:
0
1、查看日志 用户执行非法命令删除文件,sudo rm -rf share/ [root@check ~]# tail /var/log/secure ...
分类:
其他好文 时间:
2021-01-15 11:51:34
阅读次数:
0
首先通过 $ git branch -a 来查看所在目录的分支 当前是 master分支, 通过 $ git checkout -b kaifa origin/kaifa切换到 kaifa分支 ...
分类:
其他好文 时间:
2021-01-15 11:40:24
阅读次数:
0