public class SqlResourceRolePrivileges extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SqlResourceRolePrivileges.Privilege |
Modifier and Type | Field and Description |
---|---|
static String |
TOKEN_WILDCARD |
Constructor and Description |
---|
SqlResourceRolePrivileges(String sqlResource,
List<SqlResourceRolePrivileges.Privilege> privileges,
String roleName) |
Modifier and Type | Method and Description |
---|---|
List<SqlResourceRolePrivileges.Privilege> |
getPrivileges() |
String |
getRoleName() |
String |
getSqlResource() |
boolean |
hasPrivilege(Request.Type requestType) |
String |
toString() |
public static final String TOKEN_WILDCARD
public SqlResourceRolePrivileges(String sqlResource, List<SqlResourceRolePrivileges.Privilege> privileges, String roleName)
public List<SqlResourceRolePrivileges.Privilege> getPrivileges()
public String getRoleName()
public String getSqlResource()
public boolean hasPrivilege(Request.Type requestType)
Copyright © 2011-2018 restSQL Project Contributors