Class JDBCHashStrategy


  • public class JDBCHashStrategy
    extends Object
    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.

    • Constructor Detail

      • JDBCHashStrategy

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

        public JDBCHashStrategy​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.auth.jdbc.JDBCHashStrategy getDelegate()
      • hashCode

        public int hashCode()
        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)