AutoPacker-OSS / autopacker

MIT License
6 stars 1 forks source link

Abstract-away KeyCloak #156

Closed strazdinsg closed 3 years ago

strazdinsg commented 3 years ago

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.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information