FdV-Modul

The FdV module bundles libraries that provide the functions (service localization, authentication, authorization, session handling, key access) necessary for the use of the electronic patient record.

License

License

GroupId

GroupId

de.gematik.ti.epa
ArtifactId

ArtifactId

fdv.modul
Last Version

Last Version

1.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

FdV-Modul
The FdV module bundles libraries that provide the functions (service localization, authentication, authorization, session handling, key access) necessary for the use of the electronic patient record.
Project URL

Project URL

https://github.com/gematik/ref-epa-fdv-modul
Project Organization

Project Organization

de.gematik
Source Code Management

Source Code Management

https://github.com/gematik/ref-epa-fdv-modul

Download fdv.modul

How to add to project

<!-- https://jarcasting.com/artifacts/de.gematik.ti.epa/fdv.modul/ -->
<dependency>
    <groupId>de.gematik.ti.epa</groupId>
    <artifactId>fdv.modul</artifactId>
    <version>1.0.7</version>
</dependency>
// https://jarcasting.com/artifacts/de.gematik.ti.epa/fdv.modul/
implementation 'de.gematik.ti.epa:fdv.modul:1.0.7'
// https://jarcasting.com/artifacts/de.gematik.ti.epa/fdv.modul/
implementation ("de.gematik.ti.epa:fdv.modul:1.0.7")
'de.gematik.ti.epa:fdv.modul:jar:1.0.7'
<dependency org="de.gematik.ti.epa" name="fdv.modul" rev="1.0.7">
  <artifact name="fdv.modul" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.gematik.ti.epa', module='fdv.modul', version='1.0.7')
)
libraryDependencies += "de.gematik.ti.epa" % "fdv.modul" % "1.0.7"
[de.gematik.ti.epa/fdv.modul "1.0.7"]

Dependencies

runtime (1)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.25

test (7)

Group / Artifact Type Version
junit : junit jar 4.12
org.hamcrest : hamcrest-all jar 1.3
org.greenrobot : eventbus jar 3.1.1
com.github.tony19 : logback-android jar 1.3.0-3
org.mockito : mockito-core jar 3.0.0
org.apache.logging.log4j : log4j-slf4j-impl jar 2.8.1
org.apache.logging.log4j : log4j-core jar 2.8.1

Project Modules

There are no modules declared in this project.

FdV Module Java Libraries

Introduction

This part describes the ePA FdV Modul functionalities and structure.

API Documentation

Generated API docs are available at https://gematik.github.io/ref-FdVModul.

License

Licensed under the Apache License, Version 2.0.

Overview

The FdV module bundles libraries that provide the functions (service localization, authentication, authorization, session handling, key access) necessary for the use of the electronic patient record.

FdV Modul overview

FdV Authentication

The authentication module provides the functionalities for authenticating the user to use the electronic patient record. All available IAuthenticator and the selected one will be returned by the AuthnService. The Authn class enforces required operations (login create challenge / login create token / renew token / logout token) according to ws-Trust to authenticate the user. The AuthenticationBindingSoap class forms the entry point for establishing the connection to the authentication web service.

FdV Authentication structure

FdV Authorization

The authorization module is not yet implemented

ePA Authorization structure

FdV Key Access

The key access module is not yet implemented

ePA Key Access structure

FdV Session Handler

The FdV SessionHandler module provides a ServiceLocalizerLoader for available service localization services.

FdV Session Handler structure

Service Localization API

ePA Service Localization API

IService Localizer

Interface to be implemented by service localizer as entry point to localize ePA service components. Start lookup DNS for retrieving endpoint URLs of various ePA gateway services. Once lookup has been done successfully, endpoint URLs for interfaces in ServiceInterfaceName can be retrieved.

IServiceLocalizer

The specific service localization needs a descriptor behind YOUR.service.localization\src\main\resources\META-INF\services with filename de.gematik.ti.fdv.epa.service.localization.spi.IServiceLocalizer and the content of the package and class which implements the service localizer interface e.g. de.gematik.ti.fdv.epa.service.localization.ServiceLocator

File META-INF services

ServiceInterfaceName

Description of the service interfaces and assignments of paths to the ePA file system components

LookupStatus

Status of service lookup in DNS - As long as the Service lookup is running, thus it might still in progress after ServiceLocatorType object has been initialized, or lookup was not successful for some reason, e.g. DNS was not accessible

ServiceInterfaceName / LookupStatus

Authentication Service Provider

ePA Authentication Service Provider

Authentication Service Provider Interface

The entry point for the ServiceLoader is the Authentication Service Provider Interface. This Interface returns the specific authentication provider implementation and a provider description.

IAuthenticationProvider

The specific authentication.provider needs a descriptor behind YOUR.PROVIDER\src\main\resources\META-INF\services with filename de.gematik.ti.fdv.authentication.service.provider.api.IAuthenticator and the content of the package and class which implements the service provider interface e.g. de.gematik.ti.epa.fdv.healthcard.authentication.Authenticator

File META-INF services

Getting Started

Build setup FdV Module

To use ePA FdV Modul library in a project, you need just to include following dependency:

Gradle dependency settings to use ePA FdV Modul library.

dependencies {
    implementation group: 'de.gematik.ti.epa', name: 'fdv.authentication', version: '1.0.3'
}

Maven dependency settings to use ePA FdV Modul library.

<dependencies>
    <dependency>
        <groupId>de.gematik.ti.epa</groupId>
        <artifactId>fdv.authentication</artifactId>
        <version>1.0.7</version>
    </dependency>
</dependencies>

Build setup Authentication

To use ePA Authentication library in a project, you need just to include following dependency:

Gradle dependency settings to use ePA Authentication library.

dependencies {
    implementation group: 'de.gematik.ti.epa', name: 'fdv.authentication', version: '{version_FDVMODUL}'
}

Maven dependency settings to use ePA Authentication library.

<dependencies>
    <dependency>
        <groupId>de.gematik.ti.epa</groupId>
        <artifactId>fdv.authentication</artifactId>
        <version>{version_FDVMODUL}</version>
    </dependency>
</dependencies>

Build setup Authorization

To use ePA Authorization library in a project, you need just to include following dependency:

Gradle dependency settings to use ePA Authorization library.

dependencies {
    implementation group: 'de.gematik.ti.epa', name: 'fdv.authorization', version: '{version_FDVMODUL}'
}

Maven dependency settings to use ePA Authorization library.

<dependencies>
    <dependency>
        <groupId>de.gematik.ti.epa</groupId>
        <artifactId>fdv.authorization</artifactId>
        <version>{version_FDVMODUL}</version>
    </dependency>
</dependencies>

Build setup Key Access

To use Key Access library in a project, you need just to include following dependency:

Gradle dependency settings to use Key Access library.

dependencies {
    implementation group: 'de.gematik.ti.epa', name: 'fdv.key.access', version: '{version_FDVMODUL}'
}

Maven dependency settings to use Key Access library.

<dependencies>
    <dependency>
        <groupId>de.gematik.ti.epa</groupId>
        <artifactId>fdv.key.access</artifactId>
        <version>{version_FDVMODUL}</version>
    </dependency>
</dependencies>

Build setup Session Handler

To use ePA Session Handler library in a project, you need just to include following dependency:

Gradle dependency settings to use ePA Session Handler library.

dependencies {
    implementation group: 'de.gematik.ti.epa', name: 'fdv.session.handler', version: '{version_FDVMODUL}'
}

Maven dependency settings to use ePA Session Handler library.

<dependencies>
    <dependency>
        <groupId>de.gematik.ti.epa</groupId>
        <artifactId>fdv.session.handler</artifactId>
        <version>{version_FDVMODUL}</version>
    </dependency>
</dependencies>

Build setup Service Localization API

To use ePA Service Localization API library in a project, you need just to include following dependency:

Gradle dependency settings to use ePA Service Localization API library.

dependencies {
    implementation group: 'de.gematik.ti.epa', name: 'fdv.service.localization.api', version: '{version_FDVMODUL}'
}

Maven dependency settings to use ePA Service Localization API library.

<dependencies>
    <dependency>
        <groupId>de.gematik.ti.epa</groupId>
        <artifactId>fdv.service.localization.api</artifactId>
        <version>{version_FDVMODUL}</version>
    </dependency>
</dependencies>

Build setup Authentication Service Provider

To use Authentication Service Provider library in a project, you need just to include following dependency:

Gradle dependency settings to use Authentication Service Provider library.

dependencies {
    implementation group: 'de.gematik.ti.epa', name: fdv.'authentication.service.provider', version: '{version_FDVMODUL}'
}

Maven dependency settings to use Authentication Service Provider library.

<dependencies>
    <dependency>
        <groupId>de.gematik.ti.epa</groupId>
        <artifactId>fdv.authentication.service.provider</artifactId>
        <version>{version_FDVMODUL}</version>
    </dependency>
</dependencies>
de.gematik.ti.epa

Gematik

Versions

Version
1.0.7
1.0.3
1.0.2