wso2微网关x-wso2-disable-security = true禁用限制

问题描述 投票:0回答:1

我正在尝试对以下定义的api进行基本身份验证。我已经使用x-wso2-disable-security:true禁用了默认安全性,但是它也禁用了对其定义的速率限制。不知道为什么会这样。

paths:
  /public/rt/PING:
    get:
      description: ""
      operationId: PING
      x-wso2-throttling-tier: 6PerMin
      x-wso2-disable-security: true
      x-wso2-request-interceptor: setAuthHeaderInRequest
      responses:
        "200":
          description: Successful response
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/PING"
            application/xml:
              schema:
                $ref: "#/components/schemas/PING"
      security:
        - basicAuthentication: []```

wso2 wso2-am
1个回答
0
投票

此问题已在最新版本的microgateway(1.1.0)中得到解决。

[1]-https://github.com/wso2/product-microgateway/releases/tag/v3.1.0

© www.soinside.com 2019 - 2024. All rights reserved.