You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2004/02/25 14:19:57 UTC

cvs commit: avalon/meta/site/xdocs/meta/info/type/security index.xml navigation.xml permission.xml

mcconnell    2004/02/25 05:19:57

  Added:       meta/site/xdocs/meta/info/type/security index.xml
                        navigation.xml permission.xml
  Log:
  Add permission info.
  
  Revision  Changes    Path
  1.1                  avalon/meta/site/xdocs/meta/info/type/security/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
  
    <properties>
      <author email="mcconnell@apache.org">Stephen McConnell</author>
      <title>Stage Descriptors</title>
    </properties>
  
    <body>
      <section name="Security">
        <subsection name="Nested Elements">
          <table>
            <tr><th>Element</th><th>Occurance</th><th>Description</th></tr>
            <tr>
              <td><a href="permission.html">permission</a></td><td>0..n</td>
              <td>
               A security permission request.
              </td>
            </tr>
          </table>
        </subsection>
  
        <subsection name="Description">
  <p>
  Declaration of a set of security aspects.  This information may be used by a 
  container to determine if the deployment of a component type is allowed within
  an existing security context.
  </p>
        </subsection>
  
        <subsection name="Example XML">
  
  <source>
    &lt;security&gt;
      &lt;permission class="<font color="darkred">java.util.PropertyPermission</font>"  
          name="<font color="darkred">java.version</font>"&gt;
        &lt;action&gt;<font color="darkred">read</font>&lt;/action&gt;
        &lt;action&gt;<font color="darkred">write</font>&lt;/action&gt;
      &lt;/permission&gt;
    &lt;/security&gt;
  </source>
  
        </subsection>
  
      </section>
  
    </body>
  
    <footer>
      <legal>
        Copyright (c) @year@ The Avvalon Apache Project. All rights reserved.
        $Revision: 1.1 $ $Date: 2004/02/25 13:19:57 $
      </legal>
    </footer>
  
  </document>
  
  
  
  
  
  1.1                  avalon/meta/site/xdocs/meta/info/type/security/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <project>
  
   <title>Avalon Meta</title>
  
   <body>
  
      <links>
        <item name="Apache" href="http://apache.org/"/>
        <item name="Avalon" href="http://avalon.apache.org/"/>
        <item name="Framework" href="http://avalon.apache.org/product/framework/"/>
        <item name="Containers" href="http://avalon.apache.org/product/containers/"/>
        <item name="Components" href="http://avalon.apache.org/product/components/"/>
      </links>
  
      <menu name="About Avalon Meta">
        <item name="Overview" href="/index.html"/>
        <item name="Meta Model" href="/meta/index.html">
          <item name="Descriptors" href="/meta/info/index.html">
            <item name="Type" href="/meta/info/type/index.html">
              <item name="Info" href="/meta/info/type/info.html"/>
              <item name="Loggers" href="/meta/info/type/loggers/index.html"/>
              <item name="Context" href="/meta/info/type/context/index.html"/>
              <item name="Dependencies" href="/meta/info/type/dependencies/index.html"/>
              <item name="Security" href="/meta/info/type/security/index.html">
                <item name="Permission" href="/meta/info/type/security/permission.html"/>
              </item>
              <item name="Services" href="/meta/info/type/services/index.html"/>
              <item name="Stages" href="/meta/info/type/stages/index.html"/>
              <item name="Extensions" href="/meta/info/type/extensions/index.html"/>
            </item>
            <item name="Service" href="/meta/info/service.html"/>
            <item name="Attributes" href="/meta/info/attributes/index.html"/>
          </item>
          <item name="Directives" href="/meta/data/index.html"/>
        </item>
        <item name="Tools" href="/tools/index.html"/>
        <item name="Javadoc" href="/api/index.html"/>
      </menu>
  
      <menu name="Related Projects">
        <item name="Merlin" href="http://avalon.apache.org/merlin"/>
      </menu>
  
   </body>
  
  </project>
  
  
  
  
  1.1                  avalon/meta/site/xdocs/meta/info/type/security/permission.xml
  
  Index: permission.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
  
    <properties>
      <author email="mcconnell@apache.org">Stephen McConnell</author>
      <title>Permission Descriptors</title>
    </properties>
  
    <body>
      <section name="Permission Descriptor">
  
        <subsection name="Attributes">
          <table>
            <tr><th>Attribute</th><th>Required</th><th>Description</th></tr>
            <tr>
              <td>class</td><td>yes</td>
              <td>
               Declaration of the permission class.
              </td>
            </tr>
            <tr>
              <td>name</td><td>no</td>
              <td>
               Declaration of the permission name.
              </td>
            </tr>
          </table>
        </subsection>
  
        <subsection name="Nested Elements">
          <table>
            <tr><th>Element</th><th>Occurance</th><th>Description</th></tr>
            <tr>
              <td>action</td><td>0..n</td>
              <td>
               A set of action declarations.
              </td>
            </tr>
          </table>
        </subsection>
  
        <subsection name="Description">
  <p>
  The org.apache.avalon.meta.info.PermissionDescriptor class declares a permission
  required by the component type.
  </p>
        </subsection>
  
        <subsection name="Example XML">
  
  <source>
    &lt;permission class="<font color="darkred">java.util.PropertyPermission</font>"  
          name="<font color="darkred">java.version</font>"&gt;
      &lt;action&gt;<font color="darkred">read</font>&lt;/action&gt;
      &lt;action&gt;<font color="darkred">write</font>&lt;/action&gt;
    &lt;/permission&gt;
  </source>
  
        </subsection>
  
      </section>
  
    </body>
  
    <footer>
      <legal>
        Copyright (c) @year@ The Avalon Apache Project All rights reserved.
        $Revision: 1.1 $ $Date: 2004/02/25 13:19:57 $
      </legal>
    </footer>
  
  </document>
  
  
  
  
  

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