org.usergrid.persistence
Class CredentialsInfo
java.lang.Object
org.usergrid.persistence.CredentialsInfo
public class CredentialsInfo
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
protected Map<String,Object> properties
CredentialsInfo
public CredentialsInfo()
getRecoverable
public boolean getRecoverable()
setRecoverable
public void setRecoverable(boolean recoverable)
getEncrypted
public boolean getEncrypted()
setEncrypted
public void setEncrypted(boolean encrypted)
getCipher
public String getCipher()
setCipher
public void setCipher(String cipher)
getKey
public String getKey()
setKey
public void setKey(String key)
getSecret
public String getSecret()
setSecret
public void setSecret(String secret)
getCredentialsSecret
public static String getCredentialsSecret(CredentialsInfo credentials)
getProperties
public Map<String,Object> getProperties()
setProperty
public void setProperty(String key,
Object value)
getProperty
public Object getProperty(String key)
getHashType
public String getHashType()
- Returns:
- the hashType
setHashType
public void setHashType(String hashType)
- Used for handling legacy passwords encrypted in md5 or similar.
- Parameters:
hashType
- the hashType to set
getCryptoChain
public String[] getCryptoChain()
- Returns:
- the cryptoChain
setCryptoChain
public void setCryptoChain(String[] cryptoChain)
- Parameters:
cryptoChain
- the cryptoChain to set
Copyright © 2013. All Rights Reserved.