问题标签 [authzforce]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
24 浏览

java - 如何从我的属性提供者访问策略数据?

我正在处理 AttributeProvider。需要实现将访问另一个服务 API 的属性提供程序。所以我根据文档准备了一切。

AttributeProvider 已成功注册,一切正常。但是有一点不清楚。如何从我的属性提供者访问策略数据?

0 投票
1 回答
51 浏览

java - 使用 authzforce 在包中添加多个值

我知道在 stackoverflow 上已经有一个问题在这里进行了讨论,但是我仍然无法将正确的值发送到 Bag.newAttributeBag 并希望得到一些帮助。

如果我使用 Collection StringValue,我会在 subjectList.add 上收到错误

Collection 类型中的方法 add(StringValue) 不适用于参数 (String)

如果我使用Collection<String>我会在 newAttributeBag 上得到一个错误。如何向我的 Bag.newAttributeBag 添加多个值?

Bags 类型中的方法 newAttributeBag(Datatype, Collection) 不适用于参数 (AttributeDatatype, Collection)

0 投票
0 回答
18 浏览

java - 如何在 Authzforce 请求中使用主题冲突?

如何在 Authzforce 请求中使用 urn:oasis:names:tc:xacml:1.0:subject:subject-conflicts?下面的代码在 XACML_1_0_SUBJECT_CONFLICTS 处给出了一个红色下划线。我是否错过了导入,或者我只是以错误的方式使用它?

0 投票
0 回答
11 浏览

authentication - 我如何将 EAP 身份验证的证书发送到 authzforce?或者我如何为它配置 authzforce?

我需要使用 authzforce 的 EAP 证书进行身份验证。我没有找到证书的任何属性。我如何为它配置 authzforce 策略?

0 投票
1 回答
43 浏览

authorization - 在 XACML 中使用转换函数

您能否解释一下我如何使用提供的 XACML 列表中的转换函数来创建策略规则中的条件。比如那个函数。

我正在使用 AuthzForce,我的ApplycontainsAttributeValueAttributeDesignator. 我的 PDP 请求仅包含字符串类型,我想在策略中所需的类型中进行转换。

我试图这样做,但我得到了error-message - policyset is invalid.