Class JDBCHashStrategy

java.lang.Object
io.vertx.mutiny.ext.auth.jdbc.JDBCHashStrategy
All Implemented Interfaces:
MutinyDelegate

@Deprecated public class JDBCHashStrategy extends Object implements MutinyDelegate
Deprecated.
Determines how the hashing is computed in the implementation You can implement this to provide a different hashing strategy to the default.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • JDBCHashStrategy

      public JDBCHashStrategy(io.vertx.ext.auth.jdbc.JDBCHashStrategy delegate)
      Deprecated.
    • JDBCHashStrategy

      public JDBCHashStrategy(Object delegate)
      Deprecated.
  • Method Details

    • getDelegate

      public io.vertx.ext.auth.jdbc.JDBCHashStrategy getDelegate()
      Deprecated.
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • createSHA512

      @Deprecated public static JDBCHashStrategy createSHA512(Vertx vertx)
      Deprecated.
      Parameters:
      vertx - the vert.x instance
      Returns:
      the implementation.
    • createPBKDF2

      @Deprecated public static JDBCHashStrategy createPBKDF2(Vertx vertx)
      Deprecated.
      Parameters:
      vertx - the vert.x instance
      Returns:
      the implementation.
    • generateSalt

      @Deprecated public String generateSalt()
      Deprecated.
      Returns:
      a non null salt value
    • computeHash

      @Deprecated public String computeHash(String password, String salt, int version)
      Deprecated.
      Parameters:
      password - the unhashed password
      salt - the salt
      version - the nonce version to use
      Returns:
      the hashed password
    • getHashedStoredPwd

      @Deprecated public String getHashedStoredPwd(io.vertx.core.json.JsonArray row)
      Deprecated.
      Parameters:
      row - the row
      Returns:
      the hashed password
    • getSalt

      @Deprecated public String getSalt(io.vertx.core.json.JsonArray row)
      Deprecated.
      Parameters:
      row - the row
      Returns:
      the salt
    • setNonces

      @Deprecated public void setNonces(io.vertx.core.json.JsonArray nonces)
      Deprecated.
      Parameters:
      nonces - a json array.
    • isEqual

      @Deprecated public static boolean isEqual(String hasha, String hashb)
      Deprecated.
      Parameters:
      hasha - hash a to compare
      hashb - hash b to compare
      Returns:
      true if equal
    • newInstance

      public static JDBCHashStrategy newInstance(io.vertx.ext.auth.jdbc.JDBCHashStrategy arg)
      Deprecated.