摘要: 1、检查工具是否安装,如果未安装则使用yum安装 #htpasswd 有以上输出表示已经安装,如果没有按装,使用如下命令安装: #yum -y install httpd-tools 2、htpasswd命令选项参数说明-c 创建一个加密文件-n 不更新加密文件,只将htpasswd命令加密后的用户 阅读全文
posted @ 2019-11-28 13:41 liuxm-刘小明 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1.pom文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apac 阅读全文
posted @ 2019-11-28 11:22 liuxm-刘小明 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 实现过滤器很简单,只需要继承ZuulFilter,并实现ZuulFilter中的抽象方法。 filterType():定义过滤器的类型,它有4种类型,分别是pre、post、routing和errorfilterOrder():过滤顺序,它是一个Int类型的值,值越小,越早执行该过滤器shouldF 阅读全文
posted @ 2019-11-28 11:12 liuxm-刘小明 阅读(912) 评论(0) 推荐(0) 编辑
摘要: guava在springboot中使用 1.pom中引入包 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocat 阅读全文
posted @ 2019-11-28 10:11 liuxm-刘小明 阅读(336) 评论(0) 推荐(0) 编辑