Class PasswordCredential

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

public class PasswordCredential extends Object
Represents business object of password credential. Supports (de)serialization of the state to/from JSON.
Author:
K. Benedyczak
  • Field Details

  • Constructor Details

    • PasswordCredential

      public PasswordCredential()
  • Method Details

    • getSerializedConfiguration

      public com.fasterxml.jackson.databind.node.ObjectNode getSerializedConfiguration() throws pl.edu.icm.unity.base.exceptions.InternalException
      Throws:
      pl.edu.icm.unity.base.exceptions.InternalException
    • setSerializedConfiguration

      public void setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode root) throws pl.edu.icm.unity.base.exceptions.InternalException
      Throws:
      pl.edu.icm.unity.base.exceptions.InternalException
    • hasStrongerRequirementsThen

      public boolean hasStrongerRequirementsThen(PasswordCredential other)
    • getMinLength

      public int getMinLength()
    • setMinLength

      public void setMinLength(int minLength)
    • getHistorySize

      public int getHistorySize()
    • setHistorySize

      public void setHistorySize(int historySize)
    • getMinClassesNum

      public int getMinClassesNum()
    • setMinClassesNum

      public void setMinClassesNum(int minClassesNum)
    • isDenySequences

      public boolean isDenySequences()
    • isAllowLegacy

      public boolean isAllowLegacy()
    • setAllowLegacy

      public void setAllowLegacy(boolean allowLegacy)
    • setDenySequences

      public void setDenySequences(boolean denySequences)
    • getMaxAge

      public long getMaxAge()
    • setMaxAge

      public void setMaxAge(long maxAge)
    • getScryptParams

      public ScryptParams getScryptParams()
    • setScryptParams

      public void setScryptParams(ScryptParams params)
    • getPasswordResetSettings

      public PasswordCredentialResetSettings getPasswordResetSettings()
    • setPasswordResetSettings

      public void setPasswordResetSettings(PasswordCredentialResetSettings passwordResetSettings)
    • getMinScore

      public int getMinScore()
    • setMinScore

      public void setMinScore(int minScore)