src/main/java/app/coronawarn/quicktest/config/SecurityConfig.java
/**
     * Global Keycloak Configuration for CWA-Quick-Test-Backend.
     *
     * @param auth AuthenticationManagerBuilder
     */
Global Keycloak Configuration for CWA-Quick-Test-Backend.
Global Keycloak Configuration for CWA - Quick - Test - Backend .
@Autowired
    public void configureGlobal(AuthenticationManagerBuilder auth) {
        KeycloakAuthenticationProvider keycloakAuthenticationProvider = keycloakAuthenticationProvider();
        keycloakAuthenticationProvider.setGrantedAuthoritiesMapper(new SimpleAuthorityMapper());
        auth.authenticationProvider(keycloakAuthenticationProvider);
    }
@ Autowired public void configureGlobal ( AuthenticationManagerBuilder auth ) { KeycloakAuthenticationProvider keycloakAuthenticationProvider = keycloakAuthenticationProvider ( ) ; keycloakAuthenticationProvider . setGrantedAuthoritiesMapper ( new SimpleAuthorityMapper ( ) ) ; auth . authenticationProvider ( keycloakAuthenticationProvider ) ; }
Global Keycloak Configuration for CWA-Quick-Test-Backend.
Global Keycloak Configuration for CWA - Quick - Test - Backend .