JDBCAuthenticationOptions
for authentication and JDBCAuthorizationOptions
for authorization@Deprecated public class JDBCAuthOptions extends Object implements AuthOptions
Constructor and Description |
---|
JDBCAuthOptions()
Deprecated.
|
JDBCAuthOptions(JDBCAuthOptions that)
Deprecated.
|
JDBCAuthOptions(JsonObject json)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JDBCAuthOptions |
clone()
Deprecated.
|
JDBCAuth |
createProvider(Vertx vertx)
Deprecated.
Create the suitable provider for this option.
|
String |
getAuthenticationQuery()
Deprecated.
|
JsonObject |
getConfig()
Deprecated.
|
String |
getDatasourceName()
Deprecated.
|
String |
getPermissionsQuery()
Deprecated.
|
String |
getRolesPrefix()
Deprecated.
|
String |
getRolesQuery()
Deprecated.
|
boolean |
isShared()
Deprecated.
|
JDBCAuthOptions |
setAuthenticationQuery(String authenticationQuery)
Deprecated.
Set the authentication query to use.
|
JDBCAuthOptions |
setConfig(JsonObject config)
Deprecated.
The configuration of the JDBC client: refer to the Vert.x JDBC Client configuration.
|
JDBCAuthOptions |
setDatasourceName(String datasourceName)
Deprecated.
Set the data source name to use, only use in shared mode.
|
JDBCAuthOptions |
setPermissionsQuery(String permissionsQuery)
Deprecated.
Set the permissions query to use.
|
JDBCAuthOptions |
setRolesPrefix(String rolesPrefix)
Deprecated.
Set the role prefix to distinguish from permissions when checking for isPermitted requests.
|
JDBCAuthOptions |
setRolesQuery(String rolesQuery)
Deprecated.
Set the roles query to use.
|
JDBCAuthOptions |
setShared(boolean shared)
Deprecated.
Set whether the JDBC client is shared or non shared.
|
public JDBCAuthOptions()
public JDBCAuthOptions(JDBCAuthOptions that)
public JDBCAuthOptions(JsonObject json)
public JDBCAuthOptions clone()
clone
in interface AuthOptions
clone
in class Object
public JDBCAuth createProvider(Vertx vertx)
AuthOptions
createProvider
in interface AuthOptions
vertx
- the vertx instancepublic boolean isShared()
public JDBCAuthOptions setShared(boolean shared)
shared
- the sharing modepublic String getDatasourceName()
public JDBCAuthOptions setDatasourceName(String datasourceName)
datasourceName
- the data source namepublic JsonObject getConfig()
public JDBCAuthOptions setConfig(JsonObject config)
config
- public String getAuthenticationQuery()
public JDBCAuthOptions setAuthenticationQuery(String authenticationQuery)
authenticationQuery
- the authentication querypublic String getRolesQuery()
public JDBCAuthOptions setRolesQuery(String rolesQuery)
rolesQuery
- the roles querypublic String getPermissionsQuery()
public JDBCAuthOptions setPermissionsQuery(String permissionsQuery)
permissionsQuery
- the permissions querypublic String getRolesPrefix()
public JDBCAuthOptions setRolesPrefix(String rolesPrefix)
rolesPrefix
- roles prefixCopyright © 2023 Eclipse. All rights reserved.