仅为某些请求删除安全性 wso2 api manager [英] Remove security only for some requests wso2 api manager

查看:10
本文介绍了仅为某些请求删除安全性 wso2 api manager的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用 WSO2 API 管理器版本 3 删除我的 api 列表中某些特定请求的安全性.

Is it possible to remove security for some specific requests in my api list using WSO2 API manager version 3.

例如,我有以下请求

/customer - post
/products - get
/customer/address - get

在我的情况下,我不需要 /products - get 的安全性.

In my case I don't need security for /products - get.

我尝试了@Pubci 获取请求响应的建议

I tried the suggestion @Pubci getting request response

Invalid Credentials. Make sure your API invocation call has a header: 'Authorization : Bearer ACCESS_TOKEN' or 'Authorization : Basic ACCESS_TOKEN' or 'apikey: API_KEY

推荐答案

对于每个资源,您可以启用/禁用安全性.

For each resource, you can enable/disable security.

  1. 转到资源标签.
  2. 点击相关资源
  3. 禁用安全性.
  4. 发布 API

请参考附图.

要发布 api 参考附图

For publishing api refer attached image

这篇关于仅为某些请求删除安全性 wso2 api manager的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆