add log message

This commit is contained in:
Roberto Cirillo 2023-02-16 17:15:58 +01:00
parent aaa8cdd631
commit 14efce90a4
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ public class ServiceEndpointResource {
}
private boolean isRoleEnabled(){
log.debug("checking role");
String at= AccessTokenProvider.instance.get();
try{
if (ModelUtils.getAccessTokenFrom(at).getRealmAccess().getRoles().contains("service-endpoint-key" )) {