All controllers and services get authenticated user from UserService.getAuthenticatedUser() and check ADMIN role through user.hasRole(). The only class communicating with KeyCloak is UserService.
KeyCloak still deeply rooted into the endpoint security config files, that part was not changed.
All controllers and services get authenticated user from UserService.getAuthenticatedUser() and check ADMIN role through user.hasRole(). The only class communicating with KeyCloak is UserService.
KeyCloak still deeply rooted into the endpoint security config files, that part was not changed.
Closes #143.