Package org.keycloak.models
Class UserModelDefaultMethods
java.lang.Object
org.keycloak.models.UserModelDefaultMethods
- All Implemented Interfaces:
RoleMapperModel
,UserModel
- Direct Known Subclasses:
AbstractUserAdapter
,AbstractUserAdapterFederatedStorage
,InMemoryUserAdapter
- Version:
- $Revision: 1 $
- Author:
- Martin Idel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.UserModel
UserModel.RequiredAction, UserModel.SearchableFields, UserModel.UserRemovedEvent
-
Field Summary
Fields inherited from interface org.keycloak.models.UserModel
COMPARE_BY_USERNAME, DISABLED_REASON, EMAIL, EMAIL_VERIFIED, ENABLED, EXACT, FIRST_NAME, GROUPS, IDP_ALIAS, IDP_USER_ID, INCLUDE_SERVICE_ACCOUNT, LAST_NAME, LOCALE, SEARCH, USERNAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
void
Sets email for this user.void
setFirstName
(String firstName) void
setLastName
(String lastName) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.keycloak.models.RoleMapperModel
deleteRoleMapping, getClientRoleMappingsStream, getRealmRoleMappingsStream, getRoleMappingsStream, grantRole, hasDirectRole, hasRole
Methods inherited from interface org.keycloak.models.UserModel
addRequiredAction, addRequiredAction, credentialManager, getAttributes, getAttributeStream, getCreatedTimestamp, getFederationLink, getFirstAttribute, getGroupsCount, getGroupsCountByNameContaining, getGroupsStream, getGroupsStream, getId, getRequiredActionsStream, getServiceAccountClientLink, getUsername, isEmailVerified, isEnabled, isMemberOf, joinGroup, leaveGroup, removeAttribute, removeRequiredAction, removeRequiredAction, setAttribute, setCreatedTimestamp, setEmailVerified, setEnabled, setFederationLink, setServiceAccountClientLink, setSingleAttribute, setUsername
-
Constructor Details
-
UserModelDefaultMethods
public UserModelDefaultMethods()
-
-
Method Details
-
getFirstName
- Specified by:
getFirstName
in interfaceUserModel
-
setFirstName
- Specified by:
setFirstName
in interfaceUserModel
-
getLastName
- Specified by:
getLastName
in interfaceUserModel
-
setLastName
- Specified by:
setLastName
in interfaceUserModel
-
getEmail
-
setEmail
Description copied from interface:UserModel
Sets email for this user. -
toString
-