public class SqlAuthorizationOptions extends Object
Constructor and Description |
---|
SqlAuthorizationOptions() |
SqlAuthorizationOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
String |
getPermissionsQuery() |
String |
getRolesQuery() |
SqlAuthorizationOptions |
setPermissionsQuery(String permissionsQuery)
Set the permissions query to use.
|
SqlAuthorizationOptions |
setRolesQuery(String rolesQuery)
Set the roles query to use.
|
JsonObject |
toJson() |
public SqlAuthorizationOptions()
public SqlAuthorizationOptions(JsonObject json)
public String getRolesQuery()
public SqlAuthorizationOptions setRolesQuery(String rolesQuery)
rolesQuery
- the roles querypublic String getPermissionsQuery()
public SqlAuthorizationOptions setPermissionsQuery(String permissionsQuery)
permissionsQuery
- the permissions querypublic JsonObject toJson()
Copyright © 2021 Eclipse. All rights reserved.