摘要:
Spring Security 一、默认配置 1、默认会对所有请求都需要进行认证与授权; 2、默认使用httpBasic方式进行登录 3、默认的用户名为user,密码在启动应用时在console中有打印 4、自定义配置: package com.imooc.security.browser; imp 阅读全文
posted @ 2023-08-18 10:56
咔咔皮卡丘
阅读(126)
评论(0)
推荐(0)
摘要:
RESTful 一、JsonPath 1、github:https://github.com/json-path/JsonPath 二、@JsonView使用步骤(用于解决同一个对象在不同的接口返回的字段不同的场景) 1、使用接口来声明多个视图2、在值对象的get方法上指定视图3、在Controll 阅读全文
posted @ 2023-08-18 10:24
咔咔皮卡丘
阅读(242)
评论(0)
推荐(0)
摘要:
一、什么是Spring Cloud 1、功能:配置管理、服务注册、服务发现、断路器、智能路由、负载均衡、服务间调用、微代理、一次性令牌、思维导图模板、全局锁、领导选举、分布式消息、分布式会话、集群状态 2、Spring Cloud 与 Spring Boot 的关系 Spring Boot 是构建 阅读全文
posted @ 2023-08-18 10:20
咔咔皮卡丘
阅读(32)
评论(0)
推荐(0)
摘要:
一、spring boot 初始化工程 1、网址:https://start.spring.io 二、Gradle 安装(绿色版) 1、windows下 -下载:http://downloads.gradle.org/distributions/gradle-3.5-bin.zip -解压: -配置 阅读全文
posted @ 2023-08-18 10:06
咔咔皮卡丘
阅读(81)
评论(0)
推荐(0)
摘要:
一、lunix系统(centos7) 系统:http://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1708.iso 软件源:http://mirrors.aliyun.com 软件源配置:https://opsx.ali 阅读全文
posted @ 2023-08-18 09:56
咔咔皮卡丘
阅读(370)
评论(0)
推荐(0)

浙公网安备 33010602011771号