org.apache.derby.diag
Class DiagUtil

java.lang.Object
  extended by org.apache.derby.diag.DiagUtil

abstract class DiagUtil
extends java.lang.Object

Utility methods for the package of diagnostic vtis.


Constructor Summary
DiagUtil()
           
 
Method Summary
(package private) static void checkAccess()
          Raise an exception if we are running with SQL authorization turned on but the current user isn't the database owner.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagUtil

DiagUtil()
Method Detail

checkAccess

static void checkAccess()
                 throws StandardException
Raise an exception if we are running with SQL authorization turned on but the current user isn't the database owner. This method is used to restrict access to VTIs which disclose sensitive information. See DERBY-5395.

Throws:
StandardException

Built on Wed 2013-06-12 15:21:56+0000, from revision ???

Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.