public class RegisterBean extends AbstractUserProfileBean
AbstractUserProfileBean.Attribute
attributes, attributesByName, formData, profile
Constructor and Description |
---|
RegisterBean(javax.ws.rs.core.MultivaluedMap<String,String> formData,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
protected UserProfile |
createUserProfile(UserProfileProvider provider)
Create UserProfile instance of the relevant type.
|
protected String |
getAttributeDefaultValue(String name)
Get attribute default value to be pre-filled into the form on first show.
|
String |
getContext()
Get context the template is used for, so view can be customized for distinct contexts.
|
Map<String,String> |
getFormData() |
getAttributes, getAttributesByName, init
public RegisterBean(javax.ws.rs.core.MultivaluedMap<String,String> formData, KeycloakSession session)
protected UserProfile createUserProfile(UserProfileProvider provider)
AbstractUserProfileBean
AbstractUserProfileBean.init(KeycloakSession, boolean)
.createUserProfile
in class AbstractUserProfileBean
provider
- to create UserProfile fromprotected String getAttributeDefaultValue(String name)
AbstractUserProfileBean
getAttributeDefaultValue
in class AbstractUserProfileBean
name
- of the attributepublic String getContext()
AbstractUserProfileBean
getContext
in class AbstractUserProfileBean
Copyright © 2021 JBoss by Red Hat. All rights reserved.