public static interface UserFederatedStorageProvider.Streams extends UserFederatedStorageProvider, UserAttributeFederatedStorage.Streams, UserBrokerLinkFederatedStorage.Streams, UserConsentFederatedStorage.Streams, UserFederatedUserCredentialStore.Streams, UserGroupMembershipFederatedStorage.Streams, UserRequiredActionsFederatedStorage.Streams, UserRoleMappingsFederatedStorage.Streams
UserFederatedStorageProvider.Streams
interface makes all collection-based methods in UserFederatedStorageProvider
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.UserFederatedStorageProvider.Streams
Modifier and Type | Method and Description |
---|---|
default List<String> |
getStoredUsers(RealmModel realm,
int first,
int max) |
Stream<String> |
getStoredUsersStream(RealmModel realm,
Integer first,
Integer max)
Obtains the ids of all federated users in the realm.
|
getStoredUsersCount, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove
getNotBeforeOfUser, setNotBeforeForUser
getUsersByUserAttribute, getUsersByUserAttributeStream
getAttributes, removeAttribute, setAttribute, setSingleAttribute
getFederatedIdentities, getFederatedIdentitiesStream
addFederatedIdentity, getFederatedIdentity, getUserByFederatedIdentity, preRemove, removeFederatedIdentity, updateFederatedIdentity
getConsents, getConsentsStream
addConsent, getConsentByClient, revokeConsentForClient, updateConsent
getStoredCredentials, getStoredCredentialsByType, getStoredCredentialsByTypeStream, getStoredCredentialsStream
createCredential, getStoredCredentialById, getStoredCredentialByNameAndType, removeStoredCredential, updateCredential
getGroups, getGroupsStream, getMembership, getMembershipStream
joinGroup, leaveGroup
getRequiredActions, getRequiredActionsStream
addRequiredAction, removeRequiredAction
getRoleMappings, getRoleMappingsStream
deleteRoleMapping, grantRole
default List<String> getStoredUsers(RealmModel realm, int first, int max)
getStoredUsers
in interface UserFederatedStorageProvider
Stream<String> getStoredUsersStream(RealmModel realm, Integer first, Integer max)
UserFederatedStorageProvider
getStoredUsersStream
in interface UserFederatedStorageProvider
realm
- a reference to the realm.first
- first result to return. Ignored if negative or null
.max
- maximum number of results to return. Ignored if negative or null
.Stream
of federated user ids.Copyright © 2021 JBoss by Red Hat. All rights reserved.