Fix AuthenticationTest
@@ -72,7 +72,7 @@ public class UserAuthPublicKeyIterator extends AbstractKeyPairIterator<PublicKey
identities.add(Stream.of(KeyIdentityProvider.providerOf(session))
.map(KeyIdentityProvider::loadKeys)
.flatMap(GenericUtils::stream)
- .map(kp -> new KeyPairIdentity(session, signatureFactories, kp)));
+ .map(kp -> new KeyPairIdentity(signatureFactories, session, kp)));
current = identities.stream().flatMap(r -> r).iterator();
}
