public static interface UserBrokerLinkFederatedStorage.Streams extends UserBrokerLinkFederatedStorage
UserBrokerLinkFederatedStorage.Streams interface makes all collection-based methods in UserBrokerLinkFederatedStorage
default by providing implementations that delegate to the Stream-based variants instead of the other way
around.
It allows for implementations to focus on the Stream-based approach for processing sets of data and benefit
from the potential memory and performance optimizations of that approach.UserBrokerLinkFederatedStorage.Streams| Modifier and Type | Method and Description |
|---|---|
default Set<FederatedIdentityModel> |
getFederatedIdentities(String userId,
RealmModel realm) |
Stream<FederatedIdentityModel> |
getFederatedIdentitiesStream(String userId,
RealmModel realm)
Obtains the identities of the federated user identified by
userId. |
addFederatedIdentity, getFederatedIdentity, getUserByFederatedIdentity, preRemove, removeFederatedIdentity, updateFederatedIdentitydefault Set<FederatedIdentityModel> getFederatedIdentities(String userId, RealmModel realm)
getFederatedIdentities in interface UserBrokerLinkFederatedStorageStream<FederatedIdentityModel> getFederatedIdentitiesStream(String userId, RealmModel realm)
UserBrokerLinkFederatedStorageuserId.getFederatedIdentitiesStream in interface UserBrokerLinkFederatedStorageuserId - the user identifier.realm - a reference to the realm.Stream of federated identities associated with the user.Copyright © 2021 JBoss by Red Hat. All rights reserved.