org.objectweb.cjdbc.controller
Class CJDBCRMISecurityManager

java.lang.Object
  extended byjava.lang.SecurityManager
      extended byjava.rmi.RMISecurityManager
          extended byorg.objectweb.cjdbc.controller.CJDBCRMISecurityManager

public class CJDBCRMISecurityManager
extends java.rmi.RMISecurityManager

This class describles a RMI security manager for the C-JDBC Controller. It is not used by now.

Version:
1.0
Author:
Emmanuel Cecchet

Field Summary
 
Fields inherited from class java.lang.SecurityManager
inCheck
 
Constructor Summary
CJDBCRMISecurityManager()
           
 
Method Summary
 void checkAccess(java.lang.Thread t)
          Empty method.
 void checkAccess(java.lang.ThreadGroup tg)
          Empty method.
 void checkExit(int status)
          Allows exiting (empty method).
 void checkRead(java.lang.String fname)
          Empty method.
 boolean checkTopLevelWindow(java.lang.Object window)
          Prevents "Warning: Applet Window" on windows.
 void checkWrite(java.lang.String file)
          Allows opening a direct JDBC connection (empty method).
 
Methods inherited from class java.lang.SecurityManager
checkAccept, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CJDBCRMISecurityManager

public CJDBCRMISecurityManager()
Method Detail

checkAccess

public void checkAccess(java.lang.Thread t)
Empty method.

Parameters:
t - a Thread value

checkAccess

public void checkAccess(java.lang.ThreadGroup tg)
Empty method.

Parameters:
tg - a ThreadGroup value

checkRead

public void checkRead(java.lang.String fname)
Empty method.

Parameters:
fname - a String value

checkWrite

public void checkWrite(java.lang.String file)
Allows opening a direct JDBC connection (empty method).

Parameters:
file - a String value

checkExit

public void checkExit(int status)
Allows exiting (empty method).

Parameters:
status - an int value

checkTopLevelWindow

public boolean checkTopLevelWindow(java.lang.Object window)
Prevents "Warning: Applet Window" on windows.

Parameters:
window - an Object value
Returns:
always true


Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.