Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

admin-ch/CovidCertificate-Backend-Authorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.