Skip to content

Commit

Permalink
Merge pull request #2 from POORT8/patch/readme
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
poort8amy authored Nov 13, 2023
2 parents 75d3c1d + 12264d1 commit 2e50daa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Poort8.Ishare.Core.Java
This library contains core iSHARE functionality in Java to interact with an Authorization Registry.

_Disclaimer: this library is meant for prototyping only, it is not suitable for production purposes._

### Configuration
The configuration file (config.properties) contains the following properties that need to be configured:
- AuthorizationRegistryUrl: Authorization Registry URL
Expand Down Expand Up @@ -62,4 +64,4 @@ boolean hasAccess = Authorization.VerifyAccess(delegationEvidence, "EU.EORI.NL00
```
boolean hasAccess = Authorization.VerifyAccess(delegationEvidence, "EU.EORI.NL000000003", null, "GS1.CONTAINER","180621.CONTAINER-Z", "ISHARE.READ");
```
4. The value of `hasAccess` will tell you if access was permitted (`true`) or denied (`false`).
4. The value of `hasAccess` will tell you if access was permitted (`true`) or denied (`false`).

0 comments on commit 2e50daa

Please sign in to comment.