使用matplotlib绘制折线条形复合图

阅读 8

2024-06-01

在Oauth服务中配置
@Override
protected void configure(HttpSecurity http) throws Exception {
    http.csrf().disable().formLogin().permitAll().and()//主要配置好.formLogin()
            .authorizeRequests()
            .requestMatchers(EndpointRequest.toAnyEndpoint()).permitAll()
            .antMatchers("/rsa/publicKey").permitAll()
            .anyRequest().authenticated();
 } 

在Gateway中的网关的主要配置,为了在header 中添加相关的数据请求---主要解决的网关跳转的登录页是内存ip地址页和单机的走网关无法返回授权码和强制路径server.servlet.context-path:的问题解决

- id: oauth2-login

uri: lb://oauth2

predicates:

- Path=/login

filters:

- PreserveHostHeader

- id: oauth2-token

uri: lb://oauth2

predicates:

- Path=/oauth/token

filters:

- PreserveHostHeader

- id: oauth2-authorize

uri: lb://oauth2

predicates:

- Path=/oauth/authorize

filters:

- PreserveHostHeader

实现回调函数或者直接url指向:

精彩评论(0)

0 0 举报