xmlBlaster 2.2.0 API

org.xmlBlaster.util
Class XmlBlasterSecurityManager

java.lang.Object
  extended by org.xmlBlaster.util.XmlBlasterSecurityManager

public class XmlBlasterSecurityManager
extends java.lang.Object

XmlBlasterSecurityManager class to create a RMI SecurityManager with the config/xmlBlaster.policy file.


Field Summary
private static boolean createdTemporary
           
private static java.util.logging.Logger log
           
 
Constructor Summary
XmlBlasterSecurityManager()
           
 
Method Summary
static void createSecurityManager(Global glob)
          Create and install a security manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static java.util.logging.Logger log

createdTemporary

private static boolean createdTemporary
Constructor Detail

XmlBlasterSecurityManager

public XmlBlasterSecurityManager()
Method Detail

createSecurityManager

public static void createSecurityManager(Global glob)
                                  throws XmlBlasterException
Create and install a security manager.

The security manager uses xmlBlaster.policy which is searched as follows:

  1. In the java.security.policy environment, set e.g. java -Djava.security.policy=lib/xmlBlaster.policy
  2. From XmlBlasterProperty (searched on command line and xmlBlaster.property)
  3. In the CLASSPATH
  4. If found in a jar file, it is read and written to the local directory for the SecurityManager to access

Throws:
XmlBlasterException

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.