public interface UserAttributeFederatedStorage
Modifier and Type | Interface and Description |
---|---|
static interface |
UserAttributeFederatedStorage.Streams
The
UserAttributeFederatedStorage.Streams interface makes all collection-based methods in UserAttributeFederatedStorage
default by providing implementations that delegate to the Stream -based variants instead of the other way
around. |
Modifier and Type | Method and Description |
---|---|
MultivaluedHashMap<String,String> |
getAttributes(RealmModel realm,
String userId) |
List<String> |
getUsersByUserAttribute(RealmModel realm,
String name,
String value)
Deprecated.
Use
getUsersByUserAttributeStream instead. |
default Stream<String> |
getUsersByUserAttributeStream(RealmModel realm,
String name,
String value)
Searches for federated users that have an attribute with the specified
name and value . |
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) |
void setSingleAttribute(RealmModel realm, String userId, String name, String value)
void setAttribute(RealmModel realm, String userId, String name, List<String> values)
void removeAttribute(RealmModel realm, String userId, String name)
MultivaluedHashMap<String,String> getAttributes(RealmModel realm, String userId)
@Deprecated List<String> getUsersByUserAttribute(RealmModel realm, String name, String value)
getUsersByUserAttributeStream
instead.default Stream<String> getUsersByUserAttributeStream(RealmModel realm, String name, String value)
name
and value
.realm
- a reference to the realm.name
- the attribute name.value
- the attribute value.Stream
of users that match the search criteria.Copyright © 2021 JBoss by Red Hat. All rights reserved.