Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<JDBCUserUtil> |
__TYPE_ARG |
Constructor and Description |
---|
JDBCUserUtil(JDBCUserUtil delegate) |
JDBCUserUtil(Object delegate) |
public static final io.vertx.lang.rx.TypeArg<JDBCUserUtil> __TYPE_ARG
public JDBCUserUtil(JDBCUserUtil delegate)
public JDBCUserUtil(Object delegate)
public JDBCUserUtil getDelegate()
@Deprecated public static JDBCUserUtil create(JDBCClient client)
client
- the client with write rights to the database.@Deprecated public static JDBCUserUtil create(JDBCClient client, String insertUserSQL, String insertUserRoleSQL, String insertRolePermissionSQL)
client
- the client with write rights to the database.insertUserSQL
- insertUserRoleSQL
- insertRolePermissionSQL
- @Deprecated public JDBCUserUtil createUser(String username, String password, Handler<AsyncResult<Void>> resultHandler)
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@Deprecated public JDBCUserUtil createUser(String username, String password)
username
- the username to be setpassword
- the passsword in clear text, will be adapted following the definitions of the defined strategy@Deprecated public Single<Void> rxCreateUser(String username, String password)
username
- the username to be setpassword
- the passsword in clear text, will be adapted following the definitions of the defined strategy@Deprecated public JDBCUserUtil createHashedUser(String username, String hash, Handler<AsyncResult<Void>> resultHandler)
username
- the username to be sethash
- the password hash, as result of HashingStrategy.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@Deprecated public JDBCUserUtil createHashedUser(String username, String hash)
username
- the username to be sethash
- the password hash, as result of HashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)
@Deprecated public Single<Void> rxCreateHashedUser(String username, String hash)
username
- the username to be sethash
- the password hash, as result of HashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)
@Deprecated public JDBCUserUtil createUserRole(String username, String role, Handler<AsyncResult<Void>> resultHandler)
username
- the username to be setrole
- a to be setresultHandler
- the ResultHandler will be provided with the result of the operation@Deprecated public JDBCUserUtil createUserRole(String username, String role)
username
- the username to be setrole
- a to be set@Deprecated public Single<Void> rxCreateUserRole(String username, String role)
username
- the username to be setrole
- a to be set@Deprecated public JDBCUserUtil createRolePermission(String role, String permission, Handler<AsyncResult<Void>> resultHandler)
role
- a to be setpermission
- the permission to be setresultHandler
- the ResultHandler will be provided with the result of the operation@Deprecated public JDBCUserUtil createRolePermission(String role, String permission)
role
- a to be setpermission
- the permission to be set@Deprecated public Single<Void> rxCreateRolePermission(String role, String permission)
role
- a to be setpermission
- the permission to be setpublic static JDBCUserUtil newInstance(JDBCUserUtil arg)
Copyright © 2024 Eclipse. All rights reserved.