public class LegacyAttributes extends DefaultAttributes
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
context, READ_ONLY_ATTRIBUTE_KEY, user
EMPTY_VALUE
Constructor and Description |
---|
LegacyAttributes(UserProfileContext context,
Map<String,?> attributes,
UserModel user,
UserProfileMetadata profileMetadata,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getReadable() |
protected boolean |
isIncludeAttributeIfNotProvided(AttributeMetadata metadata) |
boolean |
isReadOnly(String attributeName) |
protected boolean |
isSupportedAttribute(String name) |
attributeSet, contains, createAttributeContext, getMetadata, getValues, isReadOnlyFromMetadata, isReadOnlyInternalAttribute, 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 LegacyAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata profileMetadata, KeycloakSession session)
protected boolean isSupportedAttribute(String name)
isSupportedAttribute
in class DefaultAttributes
public boolean isReadOnly(String attributeName)
isReadOnly
in interface Attributes
isReadOnly
in class DefaultAttributes
public Map<String,List<String>> getReadable()
getReadable
in interface Attributes
getReadable
in class DefaultAttributes
protected boolean isIncludeAttributeIfNotProvided(AttributeMetadata metadata)
isIncludeAttributeIfNotProvided
in class DefaultAttributes
Copyright © 2021 JBoss by Red Hat. All rights reserved.