Steffinho
Steffinho

Reputation: 27

How can I use subject-conflicts in a Authzforce request?

How can I use urn:oasis:names:tc:xacml:1.0:subject:subject-conflicts in a Authzforce request? The code below gives a red underline at XACML_1_0_SUBJECT_CONFLICTS. Do I miss an import or I'm a just using it the wrong way?

final AttributeFqn subjectIdAttributeId = AttributeFqns.newInstance(XACML_1_0_ACCESS_SUBJECT.value(), Optional.empty(), XACML_1_0_SUBJECT_CONFLICTS);
    final AttributeBag<?> subjectIdAttributeValues = Bags.singletonAttributeBag(StandardDatatypes.STRING, new StringValue("1"));
    requestBuilder.putNamedAttributeIfAbsent(subjectIdAttributeId, subjectIdAttributeValues);

Upvotes: 1

Views: 27

Answers (0)

Related Questions