1

update KeyCloakConfig like in the KeycloakDemo

Co-authored-by: LukasEttel <lukas.ettie@yahoo.de>
Co-authored-by: AndiBuls <andreas.buls@uni-duesseldorf.de>
This commit is contained in:
AndiBuls
2020-03-16 15:16:43 +01:00
committed by [Mahgs]
parent 6a310c4b1f
commit 3f144d14e4
7 changed files with 80 additions and 22 deletions

View File

@ -14,6 +14,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.server.ResponseStatusException;
import javax.annotation.security.RolesAllowed;
@ -27,6 +28,8 @@ public class Gruppen2Controller {
@Autowired
Gruppen2Config gruppen2Config;
@Autowired
RestTemplate serviceAccountRestTemplate;
private final KeyCloakService keyCloakService;
private final EventService eventService;