SmartFrog 3.10.000

org.smartfrog.sfcore.security
Class DummySecurityManager

java.lang.Object
  extended by java.lang.SecurityManager
      extended by org.smartfrog.sfcore.security.DummySecurityManager

public class DummySecurityManager
extends java.lang.SecurityManager

Creates a SecurityManager that does not enforce any checks, but could print some extra debuggingsecurity information.


Field Summary
 
Fields inherited from class java.lang.SecurityManager
inCheck
 
Constructor Summary
DummySecurityManager()
          Constructs DummySecurityManager.
 
Method Summary
 void checkPermission(java.security.Permission perm)
          Throws a SecurityException if the requested access, specified by the given permission, is not permitted based on the security policy currently in effect.
 void checkPermission(java.security.Permission perm, java.lang.Object context)
          Throws a SecurityException if the requested access, specified by the given permission and context is not permitted based on the security policy currently in effect.
 
Methods inherited from class java.lang.SecurityManager
checkAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, 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

DummySecurityManager

public DummySecurityManager()
Constructs DummySecurityManager.

Method Detail

checkPermission

public void checkPermission(java.security.Permission perm)
Throws a SecurityException if the requested access, specified by the given permission, is not permitted based on the security policy currently in effect.

This method will trace the call and always allow the computation to continue.

Overrides:
checkPermission in class java.lang.SecurityManager
Parameters:
perm - the requested permission.

checkPermission

public void checkPermission(java.security.Permission perm,
                            java.lang.Object context)
Throws a SecurityException if the requested access, specified by the given permission and context is not permitted based on the security policy currently in effect.

This method will trace the call and always allow the computation to continue.

Overrides:
checkPermission in class java.lang.SecurityManager
Parameters:
perm - the requested permission.
context - the requested context.

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP