Package 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 Description protected LongcreatedDateprotected StringcredentialDataprotected Stringidprotected intpriorityprotected byte[]saltDeprecated.protected StringsecretDataprotected Stringtypeprotected UserEntityuserprotected StringuserLabel
-
Constructor Summary
Constructors Constructor Description CredentialEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)LonggetCreatedDate()StringgetCredentialData()StringgetId()intgetPriority()byte[]getSalt()Deprecated.StringgetSecretData()StringgetType()UserEntitygetUser()StringgetUserLabel()inthashCode()voidsetCreatedDate(Long createdDate)voidsetCredentialData(String credentialData)voidsetId(String id)voidsetPriority(int priority)voidsetSalt(byte[] salt)Deprecated.voidsetSecretData(String secretData)voidsetType(String type)voidsetUser(UserEntity user)voidsetUserLabel(String userLabel)
-
-
-
Field Detail
-
id
protected String id
-
type
protected String type
-
userLabel
protected String userLabel
-
createdDate
protected Long createdDate
-
user
protected UserEntity user
-
secretData
protected String secretData
-
credentialData
protected String credentialData
-
priority
protected int priority
-
salt
@Deprecated protected byte[] salt
Deprecated.
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getUserLabel
public String getUserLabel()
-
setUserLabel
public void setUserLabel(String userLabel)
-
getUser
public UserEntity getUser()
-
setUser
public void setUser(UserEntity user)
-
getSalt
@Deprecated public byte[] getSalt()
Deprecated.
-
setSalt
@Deprecated public void setSalt(byte[] salt)
Deprecated.
-
getCreatedDate
public Long getCreatedDate()
-
setCreatedDate
public void setCreatedDate(Long createdDate)
-
getSecretData
public String getSecretData()
-
setSecretData
public void setSecretData(String secretData)
-
getCredentialData
public String getCredentialData()
-
setCredentialData
public void setCredentialData(String credentialData)
-
getPriority
public int getPriority()
-
setPriority
public void setPriority(int priority)
-
-