Class: JDBCAuth

vertx-auth-jdbc-js/jdbc_auth~ JDBCAuth

new JDBCAuth()

Source:

Methods

setAuthenticationQuery(authenticationQuery) → {JDBCAuth}

Set the authentication query to use. Use this if you want to override the default authentication query.
Parameters:
Name Type Description
authenticationQuery string the authentication query
Source:
Returns:
a reference to this for fluency
Type
JDBCAuth

setPermissionsQuery(permissionsQuery) → {JDBCAuth}

Set the permissions query to use. Use this if you want to override the default permissions query.
Parameters:
Name Type Description
permissionsQuery string the permissions query
Source:
Returns:
a reference to this for fluency
Type
JDBCAuth

setRolePrefix(rolePrefix) → {JDBCAuth}

Set the role prefix to distinguish from permissions when checking for isPermitted requests.
Parameters:
Name Type Description
rolePrefix string a Prefix e.g.: "role:"
Source:
Returns:
a reference to this for fluency
Type
JDBCAuth

setRolesQuery(rolesQuery) → {JDBCAuth}

Set the roles query to use. Use this if you want to override the default roles query.
Parameters:
Name Type Description
rolesQuery string the roles query
Source:
Returns:
a reference to this for fluency
Type
JDBCAuth