Class PasswordCredential


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

      • PasswordCredential

        public PasswordCredential()
    • Method Detail

      • getSerializedConfiguration

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

        public void setSerializedConfiguration​(com.fasterxml.jackson.databind.node.ObjectNode root)
                                        throws pl.edu.icm.unity.exceptions.InternalException
        Throws:
        pl.edu.icm.unity.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)
      • setScryptParams

        public void setScryptParams​(ScryptParams params)
      • getMinScore

        public int getMinScore()
      • setMinScore

        public void setMinScore​(int minScore)