Skip to content

Policy Evaluation Error When Using Custom ParticipantCredential in MVD #478

Discussion options

You must be logged in to vote

Sorry, we won't be able to debug your application for you, but I strongly recommend reading up on EDC Documentation about policies.

Generally though, three parts are needed:

  • a policy definition, that you ingest through the management API
  • a verifiable credential, which contains in its credential subject the claims needed to evaluate the policy
  • a policy evaluation function: a piece of java code that takes the policy and the credential and then evaluates whether the policy is fulfilled or not. this is the connecting link between policy and VC

please not that at this time policy functions are compiled code, i.e. you must have them on the class path at compile time.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Zhipeng-lin1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants