org.usergrid.persistence
Class CredentialsInfo

java.lang.Object
  extended by org.usergrid.persistence.CredentialsInfo

public class CredentialsInfo
extends Object


Field Summary
protected  Map<String,Object> properties
           
 
Constructor Summary
CredentialsInfo()
           
 
Method Summary
 String getCipher()
           
static String getCredentialsSecret(CredentialsInfo credentials)
           
 String[] getCryptoChain()
           
 boolean getEncrypted()
           
 String getHashType()
           
 String getKey()
           
 Map<String,Object> getProperties()
           
 Object getProperty(String key)
           
 boolean getRecoverable()
           
 String getSecret()
           
 void setCipher(String cipher)
           
 void setCryptoChain(String[] cryptoChain)
           
 void setEncrypted(boolean encrypted)
           
 void setHashType(String hashType)
          Used for handling legacy passwords encrypted in md5 or similar.
 void setKey(String key)
           
 void setProperty(String key, Object value)
           
 void setRecoverable(boolean recoverable)
           
 void setSecret(String secret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

protected Map<String,Object> properties
Constructor Detail

CredentialsInfo

public CredentialsInfo()
Method Detail

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.