为 API 资源禁用 Apache LDAP 身份验证 [英] disable Apache LDAP Auth for API resources

查看:24
本文介绍了为 API 资源禁用 Apache LDAP 身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以为 API 资源禁用 Apache LDAP 身份验证,因此浏览器仍然需要它,但对于任何类型的 REST API 请求都不需要?

is it possible to disable Apache LDAP Auth for API resources, so it is still needed for the browser but not for any kind of REST API requests?

或者当请求来自特定网络时绕过它?

Or maybe bypassing it when requests come from specific networks?

谢谢

推荐答案

我发现解决此问题的唯一方法是在 Apache LDAP Auth 中将网络列入白名单,从中完成 API 请求.

The only way I found to work around this is by whitelisting the network in the Apache LDAP Auth from which the API requests are done.

这篇关于为 API 资源禁用 Apache LDAP 身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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