Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.93 KB

java-components.md

File metadata and controls

51 lines (30 loc) · 1.93 KB

Universal Registrar — Java Components

This is a Java implementation of a Universal Registrar. See universal-registrar for a general introduction to Universal Registrars and drivers.

Build (native Java)

Maven build:

mvn clean install

Local Registrar

You can use a Local Registrar 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-registrar-local</artifactId>
	<version>0.1-SNAPSHOT</version>
</dependency>

Example Use:

Web Registrar

You can deploy a Web Registrar 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 Registrar

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

Dependency:

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

Example Use:

About

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