Top Fields Constructors Methods
org.keycloak.representations.idm

public Class CredentialRepresentation

extends Object
Class Inheritance
Imports
org.keycloak.common.util.MultivaluedHashMap

Author
Bill Burke
Version
$Revision: 1 $

Field Summary

Modifier and TypeField and Description
private String
algorithm

Deprecated
private MultivaluedHashMap<String, String>
config

Deprecated
protected Integer
counter

Deprecated
private Long
private String
protected String
device

Deprecated
private Integer
digits

Deprecated
protected String
hashedSaltedValue

Deprecated
protected Integer
hashIterations

Deprecated
public static final String
private String
public static final String
public static final String
private Integer
period

Deprecated
private Integer
protected String
salt

Deprecated
public static final String
private String
protected Boolean
public static final String
private String
private String
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object
the reference object with which to compare.
obj
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
public String
getAlgorithm()

Deprecated
public MultivaluedHashMap<String, String>
getConfig()

Deprecated
public Integer
getCounter()

Deprecated
public Long
public String
public String
getDevice()

Deprecated
public Integer
getDigits()

Deprecated
public String
getHashedSaltedValue()

Deprecated
public Integer
getHashIterations()

Deprecated
public String
public Integer
getPeriod()

Deprecated
public Integer
public String
getSalt()

Deprecated
public String
public String
public String
public String
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
public Boolean
public void
setCreatedDate(Long createdDate)

public void
setCredentialData(String credentialData)

public void
public void
setPriority(Integer priority)

public void
setSecretData(String secretData)

public void
setTemporary(Boolean temporary)

public void
public void
setUserLabel(String userLabel)

public void
Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAlltoStringwaitwaitwait

Field Detail

algorithmback to summary
private String algorithm

Deprecated

Annotations
@Deprecated
configback to summary
private MultivaluedHashMap<String, String> config

Deprecated

Annotations
@Deprecated
counterback to summary
protected Integer counter

Deprecated

Annotations
@Deprecated
createdDateback to summary
private Long createdDate
credentialDataback to summary
private String credentialData
deviceback to summary
protected String device

Deprecated

Annotations
@Deprecated
digitsback to summary
private Integer digits

Deprecated

Annotations
@Deprecated
hashedSaltedValueback to summary
protected String hashedSaltedValue

Deprecated

Annotations
@Deprecated
hashIterationsback to summary
protected Integer hashIterations

Deprecated

Annotations
@Deprecated
HOTPback to summary
public static final String HOTP
idback to summary
private String id
KERBEROSback to summary
public static final String KERBEROS
PASSWORDback to summary
public static final String PASSWORD
periodback to summary
private Integer period

Deprecated

Annotations
@Deprecated
priorityback to summary
private Integer priority
saltback to summary
protected String salt

Deprecated

Annotations
@Deprecated
SECRETback to summary
public static final String SECRET
secretDataback to summary
private String secretData
temporaryback to summary
protected Boolean temporary
TOTPback to summary
public static final String TOTP
typeback to summary
private String type
userLabelback to summary
private String userLabel
valueback to summary
private String value

Constructor Detail

CredentialRepresentationback to summary
public CredentialRepresentation()

Method Detail

equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.equals.

Doc from java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x, x.equals(x) should return true.
  • It is symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any non-null reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
  • It is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x, x.equals(null) should return false.

An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

Parameters
obj:Object

the reference object with which to compare.

Returns:boolean

true if this object is the same as the obj argument; false otherwise.

Annotations
@Override
getAlgorithmback to summary
public String getAlgorithm()

Deprecated

Annotations
@Deprecated
getConfigback to summary
public MultivaluedHashMap<String, String> getConfig()

Deprecated

Annotations
@Deprecated
getCounterback to summary
public Integer getCounter()

Deprecated

Annotations
@Deprecated
getCreatedDateback to summary
public Long getCreatedDate()
getCredentialDataback to summary
public String getCredentialData()
getDeviceback to summary
public String getDevice()

Deprecated

Annotations
@Deprecated
getDigitsback to summary
public Integer getDigits()

Deprecated

Annotations
@Deprecated
getHashedSaltedValueback to summary
public String getHashedSaltedValue()

Deprecated

Annotations
@Deprecated
getHashIterationsback to summary
public Integer getHashIterations()

Deprecated

Annotations
@Deprecated
getIdback to summary
public String getId()
getPeriodback to summary
public Integer getPeriod()

Deprecated

Annotations
@Deprecated
getPriorityback to summary
public Integer getPriority()
getSaltback to summary
public String getSalt()

Deprecated

Annotations
@Deprecated
getSecretDataback to summary
public String getSecretData()
getTypeback to summary
public String getType()
getUserLabelback to summary
public String getUserLabel()
getValueback to summary
public String getValue()
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Doc from java.lang.Object.hashCode.

Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by java.util.HashMap.

The general contract of hashCode is:

  • Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
  • If two objects are equal according to the equals method, then calling the hashCode method on each of the two objects must produce the same integer result.
  • It is not required that if two objects are unequal according to the equals method, then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.
Returns:int

a hash code value for this object.

Annotations
@Override
isTemporaryback to summary
public Boolean isTemporary()
setCreatedDateback to summary
public void setCreatedDate(Long createdDate)
setCredentialDataback to summary
public void setCredentialData(String credentialData)
setIdback to summary
public void setId(String id)
setPriorityback to summary
public void setPriority(Integer priority)
setSecretDataback to summary
public void setSecretData(String secretData)
setTemporaryback to summary
public void setTemporary(Boolean temporary)
setTypeback to summary
public void setType(String type)
setUserLabelback to summary
public void setUserLabel(String userLabel)
setValueback to summary
public void setValue(String value)