public static interface UserRoleMappingsFederatedStorage.Streams extends UserRoleMappingsFederatedStorage
UserRoleMappingsFederatedStorage.Streamsinterface makes all collection-based methods in
UserRoleMappingsFederatedStoragedefault 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.
|Modifier and Type||Method and Description|
Obtains the roles associated with the federated user identified by
default Set<RoleModel> getRoleMappings(RealmModel realm, String userId)
Stream<RoleModel> getRoleMappingsStream(RealmModel realm, String userId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.