public static interface UserCredentialStore.Streams extends UserCredentialStore
UserCredentialStore.Streams interface makes all collection-based methods in UserCredentialStore
 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.UserCredentialStore.Streams| Modifier and Type | Method and Description | 
|---|---|
default List<CredentialModel> | 
getStoredCredentials(RealmModel realm,
                    UserModel user)  | 
default List<CredentialModel> | 
getStoredCredentialsByType(RealmModel realm,
                          UserModel user,
                          String type)  | 
Stream<CredentialModel> | 
getStoredCredentialsByTypeStream(RealmModel realm,
                                UserModel user,
                                String type)
Obtains the stored credentials associated with the specified user that match the specified type. 
 | 
Stream<CredentialModel> | 
getStoredCredentialsStream(RealmModel realm,
                          UserModel user)
Obtains the stored credentials associated with the specified user. 
 | 
createCredential, getStoredCredentialById, getStoredCredentialByNameAndType, moveCredentialTo, removeStoredCredential, updateCredentialdefault List<CredentialModel> getStoredCredentials(RealmModel realm, UserModel user)
getStoredCredentials in interface UserCredentialStoreStream<CredentialModel> getStoredCredentialsStream(RealmModel realm, UserModel user)
UserCredentialStoregetStoredCredentialsStream in interface UserCredentialStorerealm - a reference to the realm.user - the user whose credentials are being searched.Stream of credentials.default List<CredentialModel> getStoredCredentialsByType(RealmModel realm, UserModel user, String type)
getStoredCredentialsByType in interface UserCredentialStoreStream<CredentialModel> getStoredCredentialsByTypeStream(RealmModel realm, UserModel user, String type)
UserCredentialStoregetStoredCredentialsByTypeStream in interface UserCredentialStorerealm - a reference to the realm.user - the user whose credentials are being searched.type - the type of credentials being searched.Stream of credentials.Copyright © 2025 JBoss by Red Hat. All rights reserved.