org.keycloak.models.jpa.entities

## Class CredentialEntity

- java.lang.Object
- - org.keycloak.models.jpa.entities.CredentialEntity

-     @Entity
      public class CredentialEntity
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `device`
    `protected String` | `id`
    `protected byte[]` | `salt`
    `protected String` | `type`
    `protected UserEntity` | `user`
    `protected String` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CredentialEntity()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDevice()`
    `String` | `getId()`
    `byte[]` | `getSalt()`
    `String` | `getType()`
    `UserEntity` | `getUser()`
    `String` | `getValue()`
    `void` | `setDevice(String device)`
    `void` | `setId(String id)`
    `void` | `setSalt(byte[] salt)`
    `void` | `setType(String type)`
    `void` | `setUser(UserEntity user)`
    `void` | `setValue(String value)`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### id

          protected String id

    - #### type

          protected String type

    - #### value

          protected String value

    - #### device

          protected String device

    - #### salt

          protected byte[] salt

    - #### user

          protected UserEntity user

  - ### Constructor Detail

    - #### CredentialEntity

          public CredentialEntity()

  - ### Method Detail

    - #### getValue

          public String getValue()

    - #### setValue

          public void setValue(String value)

    - #### getType

          public String getType()

    - #### setType

          public void setType(String type)

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### getDevice

          public String getDevice()

    - #### setDevice

          public void setDevice(String device)

    - #### getUser

          public UserEntity getUser()

    - #### setUser

          public void setUser(UserEntity user)

    - #### getSalt

          public byte[] getSalt()

    - #### setSalt

          public void setSalt(byte[] salt)

Copyright © 2014. All Rights Reserved.