Skip to content

Commit 8403439

Browse files
committed
GH-2; removed invalid check for no emptiness of jwt public keys
1 parent bbf3680 commit 8403439

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

autoconfigure/src/main/java/io/mzlnk/springframework/multitenant/oauth2/resourceserver/resolver/jwt/PublicKeyJwtAuthenticationManagerResolver.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ public class PublicKeyJwtAuthenticationManagerResolver implements Authentication
1818
private final Map<String, AuthenticationManager> authenticationManagers;
1919

2020
public PublicKeyJwtAuthenticationManagerResolver(Map<String, RSAPublicKey> issuersPublicKeys) {
21-
Assert.notEmpty(issuersPublicKeys, "publicKeys cannot be empty");
22-
2321
this.authenticationManagers = issuersPublicKeys.entrySet()
2422
.stream()
2523
.collect(Collectors.toConcurrentMap(this::retrieveIssuer, this::retrieveAuthenticationManager));

0 commit comments

Comments
 (0)