Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.91 KB

java-components.md

File metadata and controls

51 lines (30 loc) · 1.91 KB

Universal Resolver — Java Components

This is a Java implementation of a Universal Resolver. See universal-resolver for a general introduction to Universal Resolvers and drivers.

Build (native Java)

Maven build:

mvn clean install

Local Resolver

You can use a Local Resolver in your Java project that invokes drivers locally (either directly via their JAVA API or via a Docker REST API).

Dependency:

<dependency>
	<groupId>decentralized-identity</groupId>
	<artifactId>uni-resolver-local</artifactId>
	<version>0.1-SNAPSHOT</version>
</dependency>

Example Use:

Web Resolver

You can deploy a Web Resolver that can be called by clients and invokes drivers locally (either directly via their JAVA API or via a Docker REST API).

See the Example Configuration.

How to run:

mvn jetty:run

Client Resolver

You can use a Client Resolver in your Java project that calls a remote Web Resolver.

Dependency:

<dependency>
	<groupId>decentralized-identity</groupId>
	<artifactId>uni-resolver-client</artifactId>
	<version>0.1-SNAPSHOT</version>
</dependency>

Example Use:

About

Decentralized Identity Foundation - http://identity.foundation/