当前位置:网站首页>Eureka registration center opens password authentication - record
Eureka registration center opens password authentication - record
2022-07-25 12:14:00 【dengjili】
stay Eureka Use Based on , We use simple password authentication , Add the following configuration steps
Eureka Service registry modification
introduce Spring-Security Dependent package dependency of
pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
Profile information , Add the following configuration
application.properties
spring.security.user.name=root
spring.security.user.password=root
newly added Security Configuration class WebSecurityConfig
@Configuration
@EnableWebSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
// close csrf
http.csrf().disable();
// Support httpBasic
http.authorizeRequests().anyRequest().authenticated().and().httpBasic();
}
}
Restart Eureka Service registry 
Eureka Service providers
Profile information , Add the following authenticated user name and password , as follows :root:[email protected]
application.properties
eureka.client.serviceUrl.defaultZone=http://root:root@localhost:8761/eureka/
Add unnecessary monitoring information here
pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
Restart Eureka The service provider can
边栏推荐
- Video caption (cross modal video summary / subtitle generation)
- RestTemplate与Ribbon简单使用
- Mirror Grid
- flink sql client 连接mysql报错异常,如何解决?
- 硬件连接服务器 tcp通讯协议 gateway
- Zero-Shot Image Retrieval(零样本跨模态检索)
- Behind the screen projection charge: iqiyi's quarterly profit, is Youku in a hurry?
- 'C:\xampp\php\ext\php_ zip. Dll'-%1 is not a valid Win32 Application Solution
- 【CTR】《Towards Universal Sequence Representation Learning for Recommender Systems》 (KDD‘22)
- 氢能创业大赛 | 国家能源局科技司副司长刘亚芳:构建高质量创新体系是我国氢能产业发展的核心
猜你喜欢

Heterogeneous graph neural network for recommendation system problems (ackrec, hfgn)

微信公众号开发 入手

PHP curl post x-www-form-urlencoded

客户端开放下载, 欢迎尝鲜

剑指 Offer 22. 链表中倒数第k个节点

Sword finger offer 22. the penultimate node in the linked list

Word中的空白页,怎么也删不掉?如何操作?
![[multimodal] transferrec: learning transferable recommendation from texture of modality feedback arXiv '22](/img/02/5f24b4af44f2f9933ce0f031d69a19.png)
[multimodal] transferrec: learning transferable recommendation from texture of modality feedback arXiv '22

投屏收费背后:爱奇艺季度盈利,优酷急了?

对比学习的应用(LCGNN,VideoMoCo,GraphCL,XMC-GAN)
随机推荐
Zero-Shot Image Retrieval(零样本跨模态检索)
【多模态】《HiT: Hierarchical Transformer with Momentum Contrast for Video-Text Retrieval》ICCV 2021
OSPF综合实验
【GCN-RS】Are Graph Augmentations Necessary? Simple Graph Contrastive Learning for RS (SIGIR‘22)
R语言可视化散点图、使用ggrepel包的geom_text_repel函数避免数据点之间的标签互相重叠(设置min.segment.length参数为Inf不添加标签线段)
【GCN-RS】Towards Representation Alignment and Uniformity in Collaborative Filtering (KDD‘22)
Mirror Grid
Zero shot image retrieval (zero sample cross modal retrieval)
R语言ggplot2可视化:使用ggpubr包的ggviolin函数可视化小提琴图、设置add参数在小提琴内部添加抖动数据点以及均值标准差竖线(jitter and mean_sd)
利用wireshark对TCP抓包分析
logstash
基于TCP/IP在同一局域网下的数据传输
【云驻共创】AI在数学界有哪些作用?未来对数学界会有哪些颠覆性影响?
Hardware connection server TCP communication protocol gateway
'C:\xampp\php\ext\php_ zip. Dll'-%1 is not a valid Win32 Application Solution
硬件连接服务器 tcp通讯协议 gateway
Median (two point answer + two point search)
氢能创业大赛 | 国家能源局科技司副司长刘亚芳:构建高质量创新体系是我国氢能产业发展的核心
对比学习的应用(LCGNN,VideoMoCo,GraphCL,XMC-GAN)
Mirror Grid