Package org.keycloak.storage.federated
Interface UserAttributeFederatedStorage
- 
- All Known Subinterfaces:
- UserAttributeFederatedStorage.Streams,- UserFederatedStorageProvider,- UserFederatedStorageProvider.Streams
 - All Known Implementing Classes:
- JpaUserFederatedStorageProvider
 
 public interface UserAttributeFederatedStorage- Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceUserAttributeFederatedStorage.StreamsTheUserAttributeFederatedStorage.Streamsinterface makes all collection-based methods inUserAttributeFederatedStoragedefault by providing implementations that delegate to theStream-based variants instead of the other way around.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description MultivaluedHashMap<String,String>getAttributes(RealmModel realm, String userId)List<String>getUsersByUserAttribute(RealmModel realm, String name, String value)Deprecated.UsegetUsersByUserAttributeStreaminstead.default Stream<String>getUsersByUserAttributeStream(RealmModel realm, String name, String value)Searches for federated users that have an attribute with the specifiednameandvalue.voidremoveAttribute(RealmModel realm, String userId, String name)voidsetAttribute(RealmModel realm, String userId, String name, List<String> values)voidsetSingleAttribute(RealmModel realm, String userId, String name, String value)
 
- 
- 
- 
Method Detail- 
setSingleAttributevoid setSingleAttribute(RealmModel realm, String userId, String name, String value) 
 - 
setAttributevoid setAttribute(RealmModel realm, String userId, String name, List<String> values) 
 - 
removeAttributevoid removeAttribute(RealmModel realm, String userId, String name) 
 - 
getAttributesMultivaluedHashMap<String,String> getAttributes(RealmModel realm, String userId) 
 - 
getUsersByUserAttribute@Deprecated List<String> getUsersByUserAttribute(RealmModel realm, String name, String value) Deprecated.UsegetUsersByUserAttributeStreaminstead.
 - 
getUsersByUserAttributeStreamdefault Stream<String> getUsersByUserAttributeStream(RealmModel realm, String name, String value) Searches for federated users that have an attribute with the specifiednameandvalue.- Parameters:
- realm- a reference to the realm.
- name- the attribute name.
- value- the attribute value.
- Returns:
- a non-null Streamof users that match the search criteria.
 
 
- 
 
-