Stella981 Stella981
4年前
SpringBoot集成Spring Security实现登陆和简单权限验证
1.数据库配置好2.导依赖<!springsecurity安全认证<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringb
Stella981 Stella981
4年前
Nginx 反向代理Springboot oAuth https配置方案
Nginx配置方案server{listen80;server_namewww.yourname.com;rewrite^(.)$https://${server_name}$1permanent;}server{
Easter79 Easter79
4年前
SpringBoot集成Spring Security实现登陆和简单权限验证
1.数据库配置好2.导依赖<!springsecurity安全认证<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringb
Stella981 Stella981
4年前
Git 手册
gitinit                                                 初始化本地git仓库(创建新仓库)gitconfigglobaluser.name"xxx"                      配置用户名gitconfigglobaluser.emai
Wesley13 Wesley13
4年前
Ubuntu长时间待机Wifi无法连接
Ubuntu长时间待机Wifi无法连接重启网络sudoservicenetworkmanagerrestart修改配置文件在/etc/default/acpisupport里面找到Addservicestothislisttostopthembeforesusp
Stella981 Stella981
4年前
Django模型层
在Django引用其他数据库,比如mysql,需要如下配置:settings.pyimportpymysqlpymysql.install_as_MySQLdb()DATABASES{'default':{'ENGINE':'django
Stella981 Stella981
4年前
Shiro
我们在applicationContext中配置受保护的资源和权限的关系    <propertyname"filterChainDefinitions"<value/login.jspanon/shiro/loginanon
Stella981 Stella981
4年前
Spring Boot 2.0 + FastJson 1.2.+作为JSON序列化
SpringBoot配置FastJson的时候,报错:java.lang.IllegalArgumentException:ContentTypecannotcontainwildcardtype''atorg.springframework.util.Assert.isTrue(Assert.java:116)~
Wesley13 Wesley13
4年前
spring+mybatis 根据业务场景访问不同数据库,读写分离
//配置文件<beanid"sqlSessionFactory1"class"org.mybatis.spring.SqlSessionFactoryBean"   <propertyname"dataSource"ref"DataSource1"/   <propertyname"configLocat
Easter79 Easter79
4年前
Spring自带的多线程任务
1.添加配置类packagecom.yiyoudao.config;importorg.springframework.aop.interceptor.AsyncUncaughtExceptionHandler;importorg.springframework.context.annotation.Compo