Class UserUpdateProfileContext
java.lang.Object
org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext
- All Implemented Interfaces:
 UpdateProfileContext
- Author:
 - Marek Posolda
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetAttributeStream(String key) Obtains all values associated with the specified attribute name.getEmail()getFirstAttribute(String name) booleanbooleanvoidsetAttribute(String key, List<String> value) voidvoidsetFirstName(String firstName) voidsetLastName(String lastName) voidsetSingleAttribute(String name, String value) voidsetUsername(String username) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.requiredactions.util.UpdateProfileContext
getAttribute 
- 
Constructor Details
- 
UserUpdateProfileContext
 
 - 
 - 
Method Details
- 
isEditUsernameAllowed
public boolean isEditUsernameAllowed()- Specified by:
 isEditUsernameAllowedin interfaceUpdateProfileContext
 - 
getUserProfileContext
- Specified by:
 getUserProfileContextin interfaceUpdateProfileContext
 - 
getUsername
- Specified by:
 getUsernamein interfaceUpdateProfileContext
 - 
setUsername
- Specified by:
 setUsernamein interfaceUpdateProfileContext
 - 
isEditEmailAllowed
public boolean isEditEmailAllowed()- Specified by:
 isEditEmailAllowedin interfaceUpdateProfileContext
 - 
getEmail
- Specified by:
 getEmailin interfaceUpdateProfileContext
 - 
setEmail
- Specified by:
 setEmailin interfaceUpdateProfileContext
 - 
getFirstName
- Specified by:
 getFirstNamein interfaceUpdateProfileContext
 - 
setFirstName
- Specified by:
 setFirstNamein interfaceUpdateProfileContext
 - 
getLastName
- Specified by:
 getLastNamein interfaceUpdateProfileContext
 - 
setLastName
- Specified by:
 setLastNamein interfaceUpdateProfileContext
 - 
getAttributes
- Specified by:
 getAttributesin interfaceUpdateProfileContext
 - 
setSingleAttribute
- Specified by:
 setSingleAttributein interfaceUpdateProfileContext
 - 
setAttribute
- Specified by:
 setAttributein interfaceUpdateProfileContext
 - 
getFirstAttribute
- Specified by:
 getFirstAttributein interfaceUpdateProfileContext
 - 
getAttributeStream
Description copied from interface:UpdateProfileContextObtains all values associated with the specified attribute name.- Specified by:
 getAttributeStreamin interfaceUpdateProfileContext- Parameters:
 key- the name of the attribute.- Returns:
 - a non-null 
Streamof attribute values. 
 
 -