Class SqlAuthorizationOptions
java.lang.Object
io.vertx.ext.auth.sqlclient.SqlAuthorizationOptions
Options configuring JDBC authentication.
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetPermissionsQuery(String permissionsQuery) Set the permissions query to use.setRolesQuery(String rolesQuery) Set the roles query to use.toJson()
-
Constructor Details
-
SqlAuthorizationOptions
public SqlAuthorizationOptions() -
SqlAuthorizationOptions
-
-
Method Details
-
getRolesQuery
-
setRolesQuery
Set the roles query to use. Use this if you want to override the default roles query.- Parameters:
rolesQuery- the roles query- Returns:
- a reference to this, so the API can be used fluently
-
getPermissionsQuery
-
setPermissionsQuery
Set the permissions query to use. Use this if you want to override the default permissions query.- Parameters:
permissionsQuery- the permissions query- Returns:
- a reference to this, so the API can be used fluently
-
toJson
-