public class CredentialModel extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_CERT |
static String |
HOTP
Deprecated.
|
static String |
KERBEROS |
static String |
OTP
Deprecated.
|
static String |
PASSWORD
Deprecated.
|
static String |
PASSWORD_HISTORY
Deprecated.
|
static String |
PASSWORD_TOKEN
Deprecated.
|
static String |
SECRET |
static String |
TOTP
Deprecated.
|
Constructor and Description |
---|
CredentialModel() |
Modifier and Type | Method and Description |
---|---|
static Comparator<CredentialModel> |
comparingByStartDateDesc() |
String |
getAlgorithm()
Deprecated.
Recommended to use PasswordCredentialModel.getCredentialData().getAlgorithm() or OTPCredentialModel.getCredentialData().getAlgorithm()
|
MultivaluedHashMap<String,String> |
getConfig()
Deprecated.
Recommended to use
getCredentialData() instead and use the subtype of CredentialData specific to your credential |
int |
getCounter()
Deprecated.
Recommended to use OTPCredentialModel.getCredentialData().getCounter()
|
Long |
getCreatedDate() |
String |
getCredentialData() |
String |
getDevice()
Deprecated.
Recommended to use OTPCredentialModel.getCredentialData().getDevice()
|
int |
getDigits()
Deprecated.
Recommended to use OTPCredentialModel.getCredentialData().getDigits()
|
int |
getHashIterations()
Deprecated.
Recommended to use PasswordCredentialModel.getCredentialData().getHashIterations()
|
String |
getId() |
int |
getPeriod()
Deprecated.
Recommended to use OTPCredentialModel.getCredentialData().getPeriod()
|
byte[] |
getSalt()
Deprecated.
Recommended to use PasswordCredentialModel.getSecretData().getSalt()
|
String |
getSecretData() |
String |
getType() |
String |
getUserLabel() |
String |
getValue()
Deprecated.
Recommended to use PasswordCredentialModel.getSecretData().getValue() or OTPCredentialModel.getSecretData().getValue()
|
void |
setAlgorithm(String algorithm)
Deprecated.
See
getAlgorithm() |
void |
setConfig(MultivaluedHashMap<String,String> config)
Deprecated.
Recommended to use
setCredentialData(String) instead and use the subtype of CredentialData specific to your credential |
void |
setCounter(int counter)
Deprecated.
See
getCounter() |
void |
setCreatedDate(Long createdDate) |
void |
setCredentialData(String credentialData) |
void |
setDevice(String device)
Deprecated.
See
getDevice() |
void |
setDigits(int digits)
Deprecated.
See
setDigits(int) |
void |
setHashIterations(int iterations)
Deprecated.
|
void |
setId(String id) |
void |
setPeriod(int period)
Deprecated.
See
setPeriod(int) |
void |
setSalt(byte[] salt)
Deprecated.
See
getSalt() |
void |
setSecretData(String secretData) |
void |
setType(String type) |
void |
setUserLabel(String userLabel) |
void |
setValue(String value)
Deprecated.
See
getValue() |
CredentialModel |
shallowClone() |
@Deprecated public static final String PASSWORD
@Deprecated public static final String PASSWORD_HISTORY
@Deprecated public static final String PASSWORD_TOKEN
@Deprecated public static final String OTP
@Deprecated public static final String TOTP
@Deprecated public static final String HOTP
public static final String SECRET
public static final String CLIENT_CERT
public static final String KERBEROS
public CredentialModel shallowClone()
public String getId()
public void setId(String id)
public String getType()
public void setType(String type)
public String getUserLabel()
public void setUserLabel(String userLabel)
public Long getCreatedDate()
public void setCreatedDate(Long createdDate)
public String getSecretData()
public void setSecretData(String secretData)
public String getCredentialData()
public void setCredentialData(String credentialData)
public static Comparator<CredentialModel> comparingByStartDateDesc()
@Deprecated public String getValue()
@Deprecated public void setValue(String value)
getValue()
@Deprecated public String getDevice()
@Deprecated public void setDevice(String device)
getDevice()
@Deprecated public byte[] getSalt()
@Deprecated public void setSalt(byte[] salt)
getSalt()
@Deprecated public int getHashIterations()
@Deprecated public void setHashIterations(int iterations)
getHashIterations()
@Deprecated public int getCounter()
@Deprecated public void setCounter(int counter)
getCounter()
@Deprecated public String getAlgorithm()
@Deprecated public void setAlgorithm(String algorithm)
getAlgorithm()
@Deprecated public int getDigits()
@Deprecated public void setDigits(int digits)
setDigits(int)
@Deprecated public int getPeriod()
@Deprecated public void setPeriod(int period)
setPeriod(int)
@Deprecated public MultivaluedHashMap<String,String> getConfig()
getCredentialData()
instead and use the subtype of CredentialData specific to your credential@Deprecated public void setConfig(MultivaluedHashMap<String,String> config)
setCredentialData(String)
instead and use the subtype of CredentialData specific to your credentialCopyright © 2020 JBoss by Red Hat. All rights reserved.