Refactoring - Version stable
This commit is contained in:
@@ -194,7 +194,8 @@ public class KeycloakService {
|
||||
}
|
||||
|
||||
try {
|
||||
return jwt.getClaimNames();
|
||||
Set<String> names = jwt.getClaimNames();
|
||||
return names != null ? names : Set.of();
|
||||
} catch (Exception e) {
|
||||
LOG.warnf("Erreur lors de la récupération des claims: %s", e.getMessage());
|
||||
return Set.of();
|
||||
|
||||
Reference in New Issue
Block a user