Package org.keycloak.representations.idm
Class UserProfileAttributeMetadata
java.lang.Object
org.keycloak.representations.idm.UserProfileAttributeMetadata
- Author:
- Vlastimil Elias <velias@redhat.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet info about attribute annotations loaded from UserProfile configuration.getGroup()
getName()
Get info about validators applied to attribute.boolean
boolean
boolean
void
setMultivalued
(boolean multivalued)
-
Constructor Details
-
UserProfileAttributeMetadata
public UserProfileAttributeMetadata() -
UserProfileAttributeMetadata
-
-
Method Details
-
getName
-
getDisplayName
- Returns:
- display name, either direct string to display, or construct for i18n like
${i18nkey}
-
isRequired
public boolean isRequired() -
isReadOnly
public boolean isReadOnly() -
getGroup
-
getAnnotations
Get info about attribute annotations loaded from UserProfile configuration. -
getValidators
Get info about validators applied to attribute.- Returns:
- map where key is validatorId and value is map with configuration for given validator (loaded from UserProfile configuration)
-
setMultivalued
public void setMultivalued(boolean multivalued) -
isMultivalued
public boolean isMultivalued()
-