public class DeclarativeAttributes extends DefaultAttributes
Attributes
. It should be removed once
the DeclarativeUserProfileProvider
becomes the default.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
READ_ONLY_ATTRIBUTE_KEY, user
EMPTY_VALUE
Constructor and Description |
---|
DeclarativeAttributes(UserProfileContext context,
Map<String,?> attributes,
UserModel user,
UserProfileMetadata profileMetadata,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getReadable()
Returns only the attributes that have read/write permissions.
|
attributeSet, contains, createAttributeContext, getMetadata, getValues, isReadOnly, isRequired, nameSet, toMap, validate
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getFirstValue, getReadable, isRootAttribute
public DeclarativeAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata profileMetadata, KeycloakSession session)
public Map<String,List<String>> getReadable()
Attributes
getReadable
in interface Attributes
getReadable
in class DefaultAttributes
Copyright © 2021 JBoss by Red Hat. All rights reserved.