Read-only mirror of https://github.com/admin-ch/CovidCertificate-Backend-Authorization — Bundesamt für Informatik und Telekommunikation. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-02-15 13:25:27 +01:00
.github/workflows Update taggedrelease.yml 2023-02-07 13:12:24 +01:00
src Improved sentences. 2023-02-15 07:45:52 +01:00
.gitignore adapted from management service 2023-01-25 16:15:58 +01:00
LICENSE Initial commit 2023-01-23 17:42:17 +01:00
pom.xml Right version for pom and tag. 2023-02-15 13:25:27 +01:00
README.md auto-configuration added, @Profile annotation fixed, imports optimized 2023-01-30 17:03:21 +01:00

CovidCertificate-Backend-Authorization

The backend authorization is responsible for managing authorization validation on a service's REST requests.

This project is released by the Federal Office of Information Technology, Systems and Telecommunication FOITT on behalf of the Federal Office of Public Health FOPH.

Configuration

This library is auto-configuring. Add the profile authorization to the profiles and add the library as dependency.

How it works

The file
META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
tells Spring-Auto-Configuration to load the class AuthorizationConfig. That class uses the annotation @ComponentScan to add spring beans delivered by this library to the spring context.