avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/policy/reader policy.dtd
Date Fri, 20 Sep 2002 09:14:19 GMT
donaldp     2002/09/20 02:14:19

  Added:       loader/src/java/org/apache/excalibur/policy/reader
  Add in a policy DTD
  Revision  Changes    Path
  1.1                  jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/policy/reader/policy.dtd
  Index: policy.dtd
     This is the DTD defining the Policy 1.0
     descriptor (XML) file format/syntax.
     Author: Peter Donald <peter at apache.org>
     This descriptor is used to define information in a java.policy
     excep in the XML file format.
     Copyright (C) The Apache Software Foundation. All rights reserved.
     This software is published under the terms of the Apache Software License
     version 1.1, a copy of which has been included  with this distribution in
     the LICENSE.txt file.
  The policy is the document root and contians the other elements:
  <!ELEMENT policy (keystore*,grant*)>
    <!ATTLIST policy id ID #IMPLIED
            xmlns CDATA #FIXED "http://jakarta.apache.org/avalon/dtds/phoenix/policy_1_0.dtd"
  The keystore element describes a particular keystore. It defines:
  name	        the name of keystore. Must be a string
               containing alphanumeric characters, '.', '-', '_' and
               starting with a letter or a '_'.
  location     the location of the keystore
  type         the keystore type
  <!ELEMENT policy EMPTY>
    <!ATTLIST policy
         name CDATA #REQUIRED
         location CDATA #REQUIRED
         type CDATA #REQUIRED >
  The grant defines a set of permisisons allowed for
  a particular codebase. It defines:
  name	        the code-base URL
  signed-by    who needs to have signed code at codebase for grant to apply (optional)
  key-store    where to load signature from (optional)
  permission  the permissions to grant
  <!ELEMENT grant          (permission*)>
    <!ATTLIST grant
         code-base CDATA #REQUIRED
         signed-by CDATA #IMPLIED
         key-store CDATA #IMPLIED >
  The permission element defines a permission for a codebase.
  <!ELEMENT permission EMPTY>
    <!ATTLIST permission
         class CDATA #REQUIRED
         target CDATA #IMPLIED
         action CDATA #IMPLIED >

To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>

View raw message