Class PasswordInfo

java.lang.Object
pl.edu.icm.unity.stdext.credential.pass.PasswordInfo

public class PasswordInfo extends Object
In DB representation of the credential state is a list of objects as the one described in this class.

Object stores hash, salt and time as 1st level citizens. Additionally hashing method and its parameters are encoded in a map. The map should use method specific keys and simple objects only directly JSON serializable.

Author:
K. Benedyczak
  • Constructor Details

  • Method Details

    • getHash

      public byte[] getHash()
    • getSalt

      public byte[] getSalt()
    • getTime

      public Date getTime()
    • getMethod

      public PasswordHashMethod getMethod()
    • getMethodParams

      public Map<String,Object> getMethodParams()