org.teiid.dqp.internal.process
Class DataRolePolicyDecider
java.lang.Object
org.teiid.dqp.internal.process.DataRolePolicyDecider
- All Implemented Interfaces:
- PolicyDecider
public class DataRolePolicyDecider
- extends java.lang.Object
- implements PolicyDecider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataRolePolicyDecider
public DataRolePolicyDecider()
getInaccessibleResources
public java.util.Set<java.lang.String> getInaccessibleResources(DataPolicy.PermissionType action,
java.util.Set<java.lang.String> resources,
DataPolicy.Context context,
CommandContext commandContext)
- Specified by:
getInaccessibleResources in interface PolicyDecider
hasRole
public boolean hasRole(java.lang.String roleName,
CommandContext context)
- Specified by:
hasRole in interface PolicyDecider
isTempAccessable
public boolean isTempAccessable(DataPolicy.PermissionType action,
java.lang.String resource,
DataPolicy.Context context,
CommandContext commandContext)
- Specified by:
isTempAccessable in interface PolicyDecider
setAllowCreateTemporaryTablesByDefault
public void setAllowCreateTemporaryTablesByDefault(boolean allowCreateTemporaryTablesByDefault)
setAllowFunctionCallsByDefault
public void setAllowFunctionCallsByDefault(boolean allowFunctionCallsDefault)
validateCommand
public boolean validateCommand(CommandContext commandContext)
- Specified by:
validateCommand in interface PolicyDecider
Copyright © 2011. All Rights Reserved.