Class AbstractUserProfileBean.Attribute
java.lang.Object
org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean.Attribute
- All Implemented Interfaces:
Comparable<AbstractUserProfileBean.Attribute>
- Enclosing class:
- AbstractUserProfileBean
public class AbstractUserProfileBean.Attribute
extends Object
implements Comparable<AbstractUserProfileBean.Attribute>
Info about user profile attribute available in Freemarker template.
-
Constructor Details
-
Attribute
-
-
Method Details
-
getName
-
getDisplayName
-
isMultivalued
public boolean isMultivalued() -
getValue
-
getValues
-
isRequired
public boolean isRequired() -
isReadOnly
public boolean isReadOnly() -
getAutocomplete
define value of the autocomplete attribute for html input tag. if null then no html input tag attribute is added -
getAnnotations
-
getHtml5DataAnnotations
-
getValidators
Get info about validators applied to attribute.- Returns:
- never null, map where key is validatorId and value is map with configuration for given validator (loaded from UserProfile configuration, never null)
-
getGroup
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AbstractUserProfileBean.Attribute>
-