public class JDBCAuth extends AuthProvider
AuthProvider
instances that use the Vert.x JDBC client
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Method and Description |
---|---|
static JDBCAuth |
create(JDBCClient client)
Create a JDBC auth provider implementation
|
Object |
getDelegate() |
static JDBCAuth |
newInstance(JDBCAuth arg) |
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.
|
authenticate, authenticateObservable, newInstance
public JDBCAuth(JDBCAuth delegate)
public Object getDelegate()
getDelegate
in class AuthProvider
public static JDBCAuth create(JDBCClient client)
client
- the JDBC client instancepublic JDBCAuth setAuthenticationQuery(String authenticationQuery)
authenticationQuery
- the authentication querypublic JDBCAuth setRolesQuery(String rolesQuery)
rolesQuery
- the roles querypublic JDBCAuth setPermissionsQuery(String permissionsQuery)
permissionsQuery
- the permissions querypublic JDBCAuth setRolePrefix(String rolePrefix)
rolePrefix
- a Prefix e.g.: "role:"Copyright © 2016. All rights reserved.