近期遇到一个问题,在spring oauth2.0默认的密码登录校验中,只能访问单个数据库表,但针对不同的表用户,需要访问不同的表,所以需要传一个新参去判断用户访问不同的表来校验账号密码 本文主要是是讨论oauth2.0支持多表用户登录 我使用的Spring Boot为2.2.5.RELEAS,Sp ...
分类:
编程语言 时间:
2021-05-24 00:36:35
阅读次数:
0
winsw(Windows Service Wrapper)是一个开源项目,它可以让我们快速把一个可执行的程序注册为Windows的系统服务。 下载安装 下载地址:https://github.com/kohsuke/winsw/releases,如图: 下载对应平台的.exe(.net2和.net ...
package com.java1234.util; import java.sql.Connection; import java.sql.DriverManager; public class DbUtil { private String dbUrl="jdbc:mysql://localho ...
分类:
数据库 时间:
2021-05-24 00:29:07
阅读次数:
0
一、下载 tomcat下载链接:https://tomcat.apache.org/ 1、进入tomcat官网后,选择需要下载的版本。我使用的是tomcat9,所以在这我选择tomcat9 2、选择zip(pgp,sha2,sha512)进行下载,下载zip的好处就是不用安装 ,直接下载解压就可以使 ...
分类:
其他好文 时间:
2021-05-20 17:49:52
阅读次数:
0
Trusted Advisor The trusted advisor is an AWS service that evaluates your environment and can provide recommendations for improvement Security improve ...
分类:
其他好文 时间:
2021-05-04 16:11:23
阅读次数:
0
查看当前系统JupyterLab支持的所有字体 from matplotlib.font_manager import FontManager mpl_fonts = set(f.name for f in FontManager().ttflist) print('all font list ge ...
分类:
其他好文 时间:
2021-05-04 16:05:28
阅读次数:
0
安装docker sudo apt-get install docker.io 创建文件目录 mkdir docker-images 修改本地存储路径 # 查看服务状态 sudo systemctl status docker ● docker.service - Docker Applicatio ...
分类:
其他好文 时间:
2021-05-04 15:54:46
阅读次数:
0
REDIS6.x: [Unit] Description=Redis Database After=network.target After=network-online.target Wants=network-online.target [Service] Type=notify PIDFile ...
分类:
其他好文 时间:
2021-05-03 12:28:31
阅读次数:
0
使用 FastAdmin 的 epay 插件时,我们通过传不同的 method 决定支付方式。 method=mp 时表示公众号支付,此时必须要 openid,但是插件里并没有说明如何获取。 其实这个 openid 的获取,addons/epay/library/Service.php 中已经写好了 ...
分类:
微信 时间:
2021-05-03 12:17:32
阅读次数:
0
package com.etoak.student.framework; import com.etoak.student.entity.School; import com.etoak.student.entity.Student; import com.etoak.student.service ...
分类:
其他好文 时间:
2021-05-03 12:13:09
阅读次数:
0