org.pentaho.platform.dataaccess.datasource.wizard.service.impl
Class SimpleDataAccessPermissionHandler

java.lang.Object
  extended by org.pentaho.platform.dataaccess.datasource.wizard.service.impl.SimpleDataAccessPermissionHandler
All Implemented Interfaces:
IDataAccessPermissionHandler

public class SimpleDataAccessPermissionHandler
extends Object
implements IDataAccessPermissionHandler


Constructor Summary
SimpleDataAccessPermissionHandler()
           
 
Method Summary
 boolean hasDataAccessPermission(IPentahoSession session)
          This method returns true if the session has permission to execute arbitrary sql from the client.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDataAccessPermissionHandler

public SimpleDataAccessPermissionHandler()
Method Detail

hasDataAccessPermission

public boolean hasDataAccessPermission(IPentahoSession session)
Description copied from interface: IDataAccessPermissionHandler
This method returns true if the session has permission to execute arbitrary sql from the client.

Specified by:
hasDataAccessPermission in interface IDataAccessPermissionHandler
Parameters:
session - pentaho session
Returns:
true if allowed