authzforce/core

An Issue in https://github.com/authzforce/core#evaluating-requests-in-authzforce-native-api-most-efficient

Closed this issue · 0 comments

Software version (AuthzForce Core)

Platform JRE

jre 1.8.0_121

Platform OS

Windows 10

Error stack trace or logs (if any)

If in doubt include the whole thing; often exceptions get wrapped in other exceptions and the exception right near the bottom explains the actual error, not the first few lines at the top.

Your code and/or AuthzForce-specific configuration file(s)

final AttributeBag<?> roleAttributeValues = Bags.singletonAttributeBag(StandardDatatypes.STRING, new StringValue("boss"));
When I used the code of "Evaluating Requests in AuthzForce native API (most efficient)" given in README.md. My eclipse come with "Unresovled complication problems":
The method singletonAttributeBag(Datatype, AV) in the type Bags is not applicable for the arguments (AttributeDatatype, StringValue)
Dear developers,
How can I sovle it?