Interface BcryptPasswordStorageSchemeCfgClient

    • Method Detail

      • getBcryptCost

        int getBcryptCost()
        Gets the "bcrypt-cost" property.

        The cost parameter specifies a key expansion iteration count as a power of two. A default value of 12 (2^12 iterations) is considered in 2016 as a reasonable balance between responsiveness and security for regular users.

        Returns:
        Returns the value of the "bcrypt-cost" property.
      • setBcryptCost

        void setBcryptCost​(Integer value)
                    throws PropertyException
        Sets the "bcrypt-cost" property.

        The cost parameter specifies a key expansion iteration count as a power of two. A default value of 12 (2^12 iterations) is considered in 2016 as a reasonable balance between responsiveness and security for regular users.

        Parameters:
        value - The value of the "bcrypt-cost" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getJavaClass

        String getJavaClass()
        Gets the "java-class" property.

        Specifies the fully-qualified name of the Java class that provides the Bcrypt Password Storage Scheme implementation.

        Specified by:
        getJavaClass in interface PasswordStorageSchemeCfgClient
        Returns:
        Returns the value of the "java-class" property.
      • setJavaClass

        void setJavaClass​(String value)
                   throws PropertyException
        Sets the "java-class" property.

        Specifies the fully-qualified name of the Java class that provides the Bcrypt Password Storage Scheme implementation.

        Specified by:
        setJavaClass in interface PasswordStorageSchemeCfgClient
        Parameters:
        value - The value of the "java-class" property.
        Throws:
        PropertyException - If the new value is invalid.