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 Summary
Modifier and TypeInterfaceDescriptionstatic interface
Deprecated.This interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directly -
Method Summary
Modifier and TypeMethodDescriptiongetAttributes
(RealmModel realm, String userId) getUsersByUserAttributeStream
(RealmModel realm, String name, String value) Searches for federated users that have an attribute with the specifiedname
andvalue
.void
removeAttribute
(RealmModel realm, String userId, String name) void
setAttribute
(RealmModel realm, String userId, String name, List<String> values) void
setSingleAttribute
(RealmModel realm, String userId, String name, String value)
-
Method Details
-
setSingleAttribute
-
setAttribute
-
removeAttribute
-
getAttributes
-
getUsersByUserAttributeStream
Searches for federated users that have an attribute with the specifiedname
andvalue
.- Parameters:
realm
- a reference to the realm.name
- the attribute name.value
- the attribute value.- Returns:
- a non-null
Stream
of users that match the search criteria.
-