Factory interface for creating io.vertx.groovy.ext.auth.AuthProvider instances that use the Vert.x JDBC client
| Type | Name and description |
|---|---|
static JDBCAuth |
create(JDBCClient client)Create a JDBC auth provider implementation |
Object |
getDelegate() |
JDBCAuth |
setAuthenticationQuery(String authenticationQuery)Set the authentication query to use. |
JDBCAuth |
setPermissionsQuery(String permissionsQuery)Set the permissions query to use. |
JDBCAuth |
setRolePrefix(String rolePrefix)Set the role prefix to distinguish from permissions when checking for isPermitted requests. |
JDBCAuth |
setRolesQuery(String rolesQuery)Set the roles query to use. |
Create a JDBC auth provider implementation
client - the JDBC client instanceSet the authentication query to use. Use this if you want to override the default authentication query.
authenticationQuery - the authentication querySet the permissions query to use. Use this if you want to override the default permissions query.
permissionsQuery - the permissions querySet the role prefix to distinguish from permissions when checking for isPermitted requests.
rolePrefix - a Prefix e.g.: "role:"io.vertx:vertx-auth-jdbc:3.1.0