Class EmailBean
java.lang.Object
org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean
org.keycloak.forms.login.freemarker.model.EmailBean
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean
AbstractUserProfileBean.Attribute, AbstractUserProfileBean.AttributeGroup -
Field Summary
Fields inherited from class org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean
attributes, attributesByName, formData, profile -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.keycloak.userprofile.UserProfilecreateUserProfile(org.keycloak.userprofile.UserProfileProvider provider) Create UserProfile instance of the relevant type.Get attribute default values to be pre-filled into the form on first show.Get context the template is used for, so view can be customized for distinct contexts.getValue()Methods inherited from class org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean
getAttributes, getAttributesByName, getHtml5DataAnnotations, init
-
Constructor Details
-
EmailBean
-
-
Method Details
-
getValue
-
createUserProfile
protected org.keycloak.userprofile.UserProfile createUserProfile(org.keycloak.userprofile.UserProfileProvider provider) Description copied from class:AbstractUserProfileBeanCreate UserProfile instance of the relevant type. Is called fromAbstractUserProfileBean.init(KeycloakSession, boolean).- Specified by:
createUserProfilein classAbstractUserProfileBean- Parameters:
provider- to create UserProfile from- Returns:
- user profile instance
-
getAttributeDefaultValues
Description copied from class:AbstractUserProfileBeanGet attribute default values to be pre-filled into the form on first show.- Specified by:
getAttributeDefaultValuesin classAbstractUserProfileBean- Parameters:
name- of the attribute- Returns:
- attribute default value (can be null)
-
getContext
Description copied from class:AbstractUserProfileBeanGet context the template is used for, so view can be customized for distinct contexts.- Specified by:
getContextin classAbstractUserProfileBean- Returns:
- name of the context
-