Package io.vertx.rxjava.ext.auth.jdbc
Class JDBCAuthentication
- java.lang.Object
-
- io.vertx.rxjava.ext.auth.authentication.AuthenticationProvider
-
- io.vertx.rxjava.ext.auth.jdbc.JDBCAuthentication
-
public class JDBCAuthentication extends AuthenticationProvider
NOTE: This class has been automatically generated from theoriginal
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<JDBCAuthentication>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description JDBCAuthentication(JDBCAuthentication delegate)
JDBCAuthentication(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static JDBCAuthentication
create(JDBCClient client, JDBCAuthenticationOptions options)
Deprecated.static JDBCAuthentication
create(JDBCClient client, JDBCHashStrategy hashStrategy, JDBCAuthenticationOptions options)
Deprecated.boolean
equals(Object o)
JDBCAuthentication
getDelegate()
String
hash(String id, String salt, String password)
Deprecated.String
hash(String id, Map<String,String> params, String salt, String password)
Deprecated.int
hashCode()
static JDBCAuthentication
newInstance(JDBCAuthentication arg)
String
toString()
-
Methods inherited from class io.vertx.rxjava.ext.auth.authentication.AuthenticationProvider
authenticate, authenticate, authenticate, authenticate, newInstance, rxAuthenticate, rxAuthenticate
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<JDBCAuthentication> __TYPE_ARG
-
-
Constructor Detail
-
JDBCAuthentication
public JDBCAuthentication(JDBCAuthentication delegate)
-
JDBCAuthentication
public JDBCAuthentication(Object delegate)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classAuthenticationProvider
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAuthenticationProvider
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAuthenticationProvider
-
getDelegate
public JDBCAuthentication getDelegate()
- Overrides:
getDelegate
in classAuthenticationProvider
-
create
@Deprecated public static JDBCAuthentication create(JDBCClient client, JDBCHashStrategy hashStrategy, JDBCAuthenticationOptions options)
Deprecated.Create a JDBC auth provider implementation- Parameters:
client
- the JDBC client instancehashStrategy
- legacy hashing strategyoptions
- authentication options- Returns:
- the auth provider
-
create
@Deprecated public static JDBCAuthentication create(JDBCClient client, JDBCAuthenticationOptions options)
Deprecated.Create a JDBC auth provider implementation- Parameters:
client
- the JDBC client instanceoptions
- authentication options- Returns:
- the auth provider
-
hash
@Deprecated public String hash(String id, Map<String,String> params, String salt, String password)
Deprecated.Hashes a password to be stored. See:HashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)
- Parameters:
id
-params
-salt
-password
-- Returns:
-
hash
@Deprecated public String hash(String id, String salt, String password)
Deprecated.Hashes a password to be stored. See:HashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)
- Parameters:
id
-salt
-password
-- Returns:
-
newInstance
public static JDBCAuthentication newInstance(JDBCAuthentication arg)
-
-