Skip to content

Commit 1faaf8b

Browse files
committed
Formatter
1 parent 83945d9 commit 1faaf8b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

server/src/main/java/access/api/PublicController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ public ResponseEntity<List<Map<String, Object>>> serviceProviders(Authentication
5656
//We need the identity provider to see which providers are connected and are therefore visiblle
5757
String authenticatingAuthority = (String) user.getClaims().get("authenticating_authority");
5858
Map<String, Object> identityProvider = manage.identityProviderByEntityID(authenticatingAuthority);
59-
Set<String> allowedEntities = ((List<Map<String, String>>) getData(identityProvider).getOrDefault("allowedEntities", List.of()))
59+
Set<String> allowedEntities = ((List<Map<String, String>>) getData(identityProvider)
60+
.getOrDefault("allowedEntities", List.of()))
6061
.stream()
6162
.map(allowedEntity -> allowedEntity.get("name"))
6263
.collect(Collectors.toSet());

0 commit comments

Comments
 (0)