Package io.vertx.reactivex.ext.auth.jdbc
Class JDBCUserUtil
- java.lang.Object
-
- io.vertx.reactivex.ext.auth.jdbc.JDBCUserUtil
-
public class JDBCUserUtil extends Object
NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<JDBCUserUtil>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description JDBCUserUtil(io.vertx.ext.auth.jdbc.JDBCUserUtil delegate)JDBCUserUtil(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static JDBCUserUtilcreate(JDBCClient client)Deprecated.static JDBCUserUtilcreate(JDBCClient client, String insertUserSQL, String insertUserRoleSQL, String insertRolePermissionSQL)Deprecated.JDBCUserUtilcreateHashedUser(String username, String hash)Deprecated.JDBCUserUtilcreateHashedUser(String username, String hash, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)Deprecated.JDBCUserUtilcreateRolePermission(String role, String permission)Deprecated.JDBCUserUtilcreateRolePermission(String role, String permission, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)Deprecated.JDBCUserUtilcreateUser(String username, String password)Deprecated.JDBCUserUtilcreateUser(String username, String password, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)Deprecated.JDBCUserUtilcreateUserRole(String username, String role)Deprecated.JDBCUserUtilcreateUserRole(String username, String role, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)Deprecated.booleanequals(Object o)io.vertx.ext.auth.jdbc.JDBCUserUtilgetDelegate()inthashCode()static JDBCUserUtilnewInstance(io.vertx.ext.auth.jdbc.JDBCUserUtil arg)io.reactivex.CompletablerxCreateHashedUser(String username, String hash)Deprecated.io.reactivex.CompletablerxCreateRolePermission(String role, String permission)Deprecated.io.reactivex.CompletablerxCreateUser(String username, String password)Deprecated.io.reactivex.CompletablerxCreateUserRole(String username, String role)Deprecated.StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<JDBCUserUtil> __TYPE_ARG
-
-
Constructor Detail
-
JDBCUserUtil
public JDBCUserUtil(io.vertx.ext.auth.jdbc.JDBCUserUtil delegate)
-
JDBCUserUtil
public JDBCUserUtil(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.auth.jdbc.JDBCUserUtil getDelegate()
-
create
@Deprecated public static JDBCUserUtil create(JDBCClient client)
Deprecated.Create an instance of the user helper.- Parameters:
client- the client with write rights to the database.- Returns:
- the instance
-
create
@Deprecated public static JDBCUserUtil create(JDBCClient client, String insertUserSQL, String insertUserRoleSQL, String insertRolePermissionSQL)
Deprecated.Create an instance of the user helper with custom queries.- Parameters:
client- the client with write rights to the database.insertUserSQL-insertUserRoleSQL-insertRolePermissionSQL-- Returns:
- the instance
-
createUser
@Deprecated public JDBCUserUtil createUser(String username, String password, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)
Deprecated.Insert a user into a database.- Parameters:
username- the username to be setpassword- the passsword in clear text, will be adapted following the definitions of the defined strategyresultHandler- the ResultHandler will be provided with the result of the operation- Returns:
- fluent self
-
createUser
@Deprecated public JDBCUserUtil createUser(String username, String password)
Deprecated.Insert a user into a database.- Parameters:
username- the username to be setpassword- the passsword in clear text, will be adapted following the definitions of the defined strategy- Returns:
- fluent self
-
rxCreateUser
@Deprecated public io.reactivex.Completable rxCreateUser(String username, String password)
Deprecated.Insert a user into a database.- Parameters:
username- the username to be setpassword- the passsword in clear text, will be adapted following the definitions of the defined strategy- Returns:
- fluent self
-
createHashedUser
@Deprecated public JDBCUserUtil createHashedUser(String username, String hash, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)
Deprecated.Insert a user into a database.- Parameters:
username- the username to be sethash- the password hash, as result ofHashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)resultHandler- the ResultHandler will be provided with the result of the operation- Returns:
- fluent self
-
createHashedUser
@Deprecated public JDBCUserUtil createHashedUser(String username, String hash)
Deprecated.Insert a user into a database.- Parameters:
username- the username to be sethash- the password hash, as result ofHashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)- Returns:
- fluent self
-
rxCreateHashedUser
@Deprecated public io.reactivex.Completable rxCreateHashedUser(String username, String hash)
Deprecated.Insert a user into a database.- Parameters:
username- the username to be sethash- the password hash, as result ofHashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)- Returns:
- fluent self
-
createUserRole
@Deprecated public JDBCUserUtil createUserRole(String username, String role, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)
Deprecated.Insert a user role into a database.- Parameters:
username- the username to be setrole- a to be setresultHandler- the ResultHandler will be provided with the result of the operation- Returns:
- fluent self
-
createUserRole
@Deprecated public JDBCUserUtil createUserRole(String username, String role)
Deprecated.Insert a user role into a database.- Parameters:
username- the username to be setrole- a to be set- Returns:
- fluent self
-
rxCreateUserRole
@Deprecated public io.reactivex.Completable rxCreateUserRole(String username, String role)
Deprecated.Insert a user role into a database.- Parameters:
username- the username to be setrole- a to be set- Returns:
- fluent self
-
createRolePermission
@Deprecated public JDBCUserUtil createRolePermission(String role, String permission, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)
Deprecated.Insert a role permission into a database.- Parameters:
role- a to be setpermission- the permission to be setresultHandler- the ResultHandler will be provided with the result of the operation- Returns:
- fluent self
-
createRolePermission
@Deprecated public JDBCUserUtil createRolePermission(String role, String permission)
Deprecated.Insert a role permission into a database.- Parameters:
role- a to be setpermission- the permission to be set- Returns:
- fluent self
-
rxCreateRolePermission
@Deprecated public io.reactivex.Completable rxCreateRolePermission(String role, String permission)
Deprecated.Insert a role permission into a database.- Parameters:
role- a to be setpermission- the permission to be set- Returns:
- fluent self
-
newInstance
public static JDBCUserUtil newInstance(io.vertx.ext.auth.jdbc.JDBCUserUtil arg)
-
-