diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-19 09:03:17 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-19 09:03:17 +0000 |
commit | 39ec3e6c6ac6362f6245292701da08e7a055e686 (patch) | |
tree | ed68a7fc7c229db870558a4c1bdb34e8053249fb /tools/misc/policyprocessor/myHandler.java | |
parent | f5b9cd087fa4774a162d27071d81a3ffad71190e (diff) | |
download | xen-39ec3e6c6ac6362f6245292701da08e7a055e686.tar.gz xen-39ec3e6c6ac6362f6245292701da08e7a055e686.tar.bz2 xen-39ec3e6c6ac6362f6245292701da08e7a055e686.zip |
This patch:
* adds a C-based security policy translation tool to Xen (secpol_xml2bin)
and removes the current Java
security policy translator (Java dependencies). The C-based tool
integrates into the Xen source tree build
and install (using gnome libxml2 for XML parsing). See install.txt.
* introduces security labels and related tools. Users can now use
semantic-rich label names to put security-tags
on domains. See example.txt, policy.txt.
* moves the security configuration (currently ACM_USE_SECURITY_POLICY)
from xen/Rules.mk
into a separate top-level Security.mk file (it is needed by the
tools/security and xen/acm).
Both xen/acm and tools/security are built during the Xen build process
only if ACM_USE_SECURITY_POLICY
is not ACM_NULL_POLICY (which is the default setting).
Signed-off-by Reiner Sailer <sailer@us.ibm.com>
Signed-off by Stefan Berger <stefanb@us.ibm.com>
Signed-off by Ray Valdez <rvaldez@us.ibm.com>
Diffstat (limited to 'tools/misc/policyprocessor/myHandler.java')
-rw-r--r-- | tools/misc/policyprocessor/myHandler.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/tools/misc/policyprocessor/myHandler.java b/tools/misc/policyprocessor/myHandler.java deleted file mode 100644 index b972c20605..0000000000 --- a/tools/misc/policyprocessor/myHandler.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * (C) Copyright IBM Corp. 2005 - * - * $Id: myHandler.java,v 1.2 2005/06/17 20:00:04 rvaldez Exp $ - * - * Author: Ray Valdez - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation, version 2 of the - * License. - * - * myHandler Class. - * - * <p> - * - * A dummy class used for detecting XML validating/parsing errors. - * - * <p> - * - * - */ -import org.xml.sax.helpers.*; -import org.xml.sax.SAXParseException; - -class myHandler extends DefaultHandler -{ - public boolean isValid = true; - - /* Notification of a recoverable error. */ - public void error(SAXParseException se) - { - isValid = false; - } - - /* Notification of a non-recoverable error. */ - public void fatalError(SAXParseException se) - { - isValid = false; - } - - /* Notification of a warning. */ - public void warning(SAXParseException se) - { - isValid = false; - } -} |