|
@@ -56,7 +56,7 @@ public final class AuthenticationHolder {
|
|
return Optional.empty();
|
|
return Optional.empty();
|
|
}
|
|
}
|
|
if (size == 1) {
|
|
if (size == 1) {
|
|
- return suppliers.get(0).get();
|
|
+ return function.apply(suppliers.get(0));
|
|
}
|
|
}
|
|
SimpleAuthentication merge = new SimpleAuthentication();
|
|
SimpleAuthentication merge = new SimpleAuthentication();
|
|
for (AuthenticationSupplier supplier : suppliers) {
|
|
for (AuthenticationSupplier supplier : suppliers) {
|