org.keycloak.models.entities

## Class UserEntity

- java.lang.Object
- - org.keycloak.models.entities.AbstractIdentifiableEntity
  - - org.keycloak.models.entities.UserEntity

- Direct Known Subclasses:
    MongoUserEntity

      public class UserEntity
      extends AbstractIdentifiableEntity

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserEntity()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,String>` | `getAttributes()`
    `List<CredentialEntity>` | `getCredentials()`
    `String` | `getEmail()`
    `List<FederatedIdentityEntity>` | `getFederatedIdentities()`
    `String` | `getFederationLink()`
    `String` | `getFirstName()`
    `String` | `getLastName()`
    `String` | `getRealmId()`
    `List<UserModel.RequiredAction>` | `getRequiredActions()`
    `List<String>` | `getRoleIds()`
    `String` | `getUsername()`
    `boolean` | `isEmailVerified()`
    `boolean` | `isEnabled()`
    `boolean` | `isTotp()`
    `void` | `setAttributes(Map<String,String> attributes)`
    `void` | `setCredentials(List<CredentialEntity> credentials)`
    `void` | `setEmail(String email)`
    `void` | `setEmailVerified(boolean emailVerified)`
    `void` | `setEnabled(boolean enabled)`
    `void` | `setFederatedIdentities(List<FederatedIdentityEntity> federatedIdentities)`
    `void` | `setFederationLink(String federationLink)`
    `void` | `setFirstName(String firstName)`
    `void` | `setLastName(String lastName)`
    `void` | `setRealmId(String realmId)`
    `void` | `setRequiredActions(List<UserModel.RequiredAction> requiredActions)`
    `void` | `setRoleIds(List<String> roleIds)`
    `void` | `setTotp(boolean totp)`
    `void` | `setUsername(String username)`

    - ### Methods inherited from class org.keycloak.models.entities.AbstractIdentifiableEntity

      `equals, getId, hashCode, setId, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### UserEntity

          public UserEntity()

  - ### Method Detail

    - #### getUsername

          public String getUsername()

    - #### setUsername

          public void setUsername(String username)

    - #### getFirstName

          public String getFirstName()

    - #### setFirstName

          public void setFirstName(String firstName)

    - #### getLastName

          public String getLastName()

    - #### setLastName

          public void setLastName(String lastName)

    - #### getEmail

          public String getEmail()

    - #### setEmail

          public void setEmail(String email)

    - #### isEmailVerified

          public boolean isEmailVerified()

    - #### setEmailVerified

          public void setEmailVerified(boolean emailVerified)

    - #### isTotp

          public boolean isTotp()

    - #### setTotp

          public void setTotp(boolean totp)

    - #### isEnabled

          public boolean isEnabled()

    - #### setEnabled

          public void setEnabled(boolean enabled)

    - #### getRealmId

          public String getRealmId()

    - #### setRealmId

          public void setRealmId(String realmId)

    - #### getRoleIds

          public List<String> getRoleIds()

    - #### setRoleIds

          public void setRoleIds(List<String> roleIds)

    - #### getAttributes

          public Map<String,String> getAttributes()

    - #### setAttributes

          public void setAttributes(Map<String,String> attributes)

    - #### getRequiredActions

          public List<UserModel.RequiredAction> getRequiredActions()

    - #### setRequiredActions

          public void setRequiredActions(List<UserModel.RequiredAction> requiredActions)

    - #### getCredentials

          public List<CredentialEntity> getCredentials()

    - #### setCredentials

          public void setCredentials(List<CredentialEntity> credentials)

    - #### getFederatedIdentities

          public List<FederatedIdentityEntity> getFederatedIdentities()

    - #### setFederatedIdentities

          public void setFederatedIdentities(List<FederatedIdentityEntity> federatedIdentities)

    - #### getFederationLink

          public String getFederationLink()

    - #### setFederationLink

          public void setFederationLink(String federationLink)

Copyright © 2015. All rights reserved.